# Storing structures in memory

**URL:** <https://www.ruby-forum.com/t/storing-structures-in-memory/128013>\
**Category:** Ruby\
**Created:** [February 4, 2008, 8:24am UTC](https://www.ruby-forum.com/t/storing-structures-in-memory/128013 "2008-02-04T08:24:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![herbasher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/91b2a8/32.png) [@herbasher](https://www.ruby-forum.com/u/herbasher)\
**Post date:** [February 4, 2008, 8:24am UTC](https://www.ruby-forum.com/t/storing-structures-in-memory/128013/1 "2008-02-04T08:24:08Z")

</div>

Hi!

I want to write a webserver, that stores a hash in RAM, and allows me to  
access that hash seamlessly across all requests.

What webserver do you recommend? merb? Something stable and light.

And how would I store objects in RAM? I would rather no use memcached,  
and instead let the ruby process simple store the hash structure in RAM  
itself.

ty,  
Herb
