Just realized something about this. I don't think this will scale past one node process because they'll each have access to different fractions of the whole question base. Basically I think you'll have to stick this in mongodb or some other persistent data store. Sorry about that, it'll probably change other parts of your code too.