[Rails] Global Data, where can it go?

Juan Lupión pantulis at gmail.com
Wed Jan 25 17:14:26 GMT 2006


> This looks like a job for distributed ruby or DRb. You can use a drb
> server that runs on a high port number and published a hash. Then in
> your rails app you can access the hash just like a normal object and
> store and lookup whatever you want in it. This way you can have one
> process that handles your state data that is outside the rails app
> and is persistent between requests.

This is truly interesting.   Is any performance hit to be expected?

--
----------------------------------------------------
http://www.sobrerailes.com


More information about the Rails mailing list