from Hacker News

Sophia – A modern embeddable key-value database

by pmwkaa on 1/30/15, 1:26 PM with 11 comments

  • by oscargrouch on 1/30/15, 6:06 PM

    Im actually embedding this in place of leveldb, in a project im working, because i just want a compact db file, and not several like leveldb use to do, and giving the benchmarks are saying this is even faster, its a plus..

    But i was just worried about the api using void pointers to represent heap state like db, cursor, etc.. im not a security expert but isnt that considered harmful? giving it could be used as a cursor to point to any arbitrary memory address by a black hat? (or that work just if the handle points to a invalid address? in a bug for instance?)

  • by otterley on 1/30/15, 6:40 PM

    How does it compare to sqlite? (Yes, sqlite can do K/V if you structure your table simply.)
  • by rkwasny on 1/30/15, 1:48 PM

    How it compares to LMDB?
  • by biomimic on 1/30/15, 4:36 PM

    Would love to see where it fits in terms of performance here: Symas Micro database benchmarks http://symas.com/mdb/microbench/

    I'm an MDB fan.