News for hackers. Stuff that matters.
Re:In-memory key-value store in C, Go and Python by samwilliams on Wednesday March 21, 2012 @04:42AM (#3733587)
Interesting!

I was actually thinking about writing something very similar as an erlang C node just a couple of days a go. I noted that the overhead for storing a mnesia table of 5 million rows of 3 integers was huge - it would take up 1.6gb in memory! If you know the size of the struct, it should pretty easy to make a fast lookup system (assuming the keys are sequential) too.

I wonder if I could wrap this instead...

Re:In-memory key-value store in C, Go and Python by jlouis on Wednesday March 21, 2012 @12:15PM (#3735031)
Use an ETS table and mark it as compressed :)