In-memory distributed database system