A graph database on top of tokyocabinet and libevent