See documentation at yzhang.net/memdb.
Simple in-memory database, with multiple indices, range query, snapshot and (nested) transactions