From: James Edward Gray II Date: 2009-09-15T00:24:20+09:00 Subject: Re: Pre-allocate large amount of memory? On Sep 14, 2009, at 8:32 AM, Carsten Gehling wrote: > Jason Stewart wrote: >> You could probably just use memcached. It's optimized for efficient >> memory allocation of hash based data stores. > > I thought of that too. But doesn't memcached expire its data after a > while? Or is it possible to disable that? You might consider using Redis: http://code.google.com/p/redis/ It definitely doesn't have to expire keys. That's an optional feature. I'll be posting a series of articles to my blog this week about using it from Ruby, one each morning: http://blog.grayproductions.net/articles/using_keyvalue_stores_from_ruby James Edward Gray II