Re:In-memory key-value store in C, Go and Python
by tptacek on Wednesday March 21, 2012 @02:16PM
(#3735657)
For a long time, Redis didn't even have a configure script; you just typed "make" and it worked. It's scrupulously portable code.
[ Parent
| on HN ]
Re:In-memory key-value store in C, Go and Python
by apaprocki on Wednesday March 21, 2012 @02:29PM
(#3735744)
Aside: I noticed that redis/Solaris used select() instead of the fancy new "event completion framework"[1] in Solaris 10. I figured maybe the new API would be faster and I could contribute that back, so I ported to both that framework, poll(), and /dev/poll (I feel the event API just wraps /dev/poll due to the perf #s I saw, but it isn't clear) and it turned out that select() is actually faster than any of them, which struck me as a bit odd.
[1]: http://developers.sun.com/solaris/articles/event_completion....