Log in Register About Aerolith 2.0
Aerolith Blog/News Wordwalls

redis!

September 27, 2011 @ 12:49 a.m.

redis is the coolest thing ever. It's an in-memory key-value store, but that's kind of undermining what it can do. I'm playing around with it in order to improve performance of my company's product, but in the meantime, I threw together a quick improvement for Aerolith!

You can now upload lists of up to 15000 words. It should upload and process very fast. Instead of pinging the SQL database and dealing with the ORM, instead the code now connects to a Redis server that has all the alphagrams in it. Speed increase is about 100-fold so I'm not tying up the server unnecessarily.. still, don't abuse it :)

Here's the code for anyone who's interested in seeing how cool redis is: https://github.com/domino14/Webolith/commit/c0dd4b2b88db2e459a9e756bd164a4cdfa57cab9

Please log in to comment on this post!

News/blog archive