I feel I should note that this benchmark, like most others, should be taken with a grain of salt. I could have something misconfigured or not fully optimized, so by all means, feel free to run it yourself, modify it, critique it, or whatever. I just thought I'd share my thoughts/code/results.
Happy hacking! On Wednesday, June 27, 2012 12:02:04 AM UTC-7, Nathaniel Barnes wrote: > > So after Guy's talk introduced me to postgres' hstore (thanks for that > btw), I was curious to see what the performance difference between it and > redis would be in serializing objects. A couple of others at the meeting > expressed some interest in it and I finally got some spare time to throw > together a script to get some results. So with that in mind, here's the > quick script I wrote, and the results it generated. > > https://gist.github.com/3001890 > > Not sure what's with that massive spike with selects from postgres at > 10,000 selects. I figure most likely my macbook just ran out of memory or > some such. I should likely try this again in an EC2 instance for giggles. > That being said, the base key/value store is clearly faster, which was > largely expected since it doesn't have to deal with any of the normal > relational overhead. However that also means you don't get all that > delicious relational overhead. > > Just thought I'd share with everyone :) > -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby
