seatgeek/soulmate — pull request #25 by willcosgrove (2012-05-27 20:09:44+00:00)
Title: Lua

I started working on using Lua to load in items to redis. I have an import of over 21,000 items (with pretty long names) to soulmate, and after I switching to the Lua implementation my import time dropped from 78 seconds to 30 seconds.

This isn't ready to pull yet though for a couple reasons. Redis 2.6 isn't officially out yet, which is the first version that supports Lua scripting. Also, I want to utilize Lua for searching. I'm sure that won't provide as dramatic a speed boost as using it for importing, but nevertheless, every ms counts.