Hi,
I'm toying with a "virtual pet" concept in which several of those creatures would "live" in memory and passing messages back and forth between the human owner (like "bark" or "go there") and the creature ("I'm hungry", "I want to play", etc) would happen via web or mobile interfaces.
The reason for wanting the creatures to be persisted in memory and not respawned with each HTTP request is having them be proactive and able to do stuff "on their own" like "Request food if you've gone 3 hours without eating", or eventually even interacting among themselves without the need for any human intervention whatsoever. So the scenario is akin to a lightweight MMORPG-like persisted world with web or mobile bindings. While I'm very confortable with the architecturing and development of traditional RESTful stacks, I'm out of my depth with the "persisted" requirements.
My best guess so far is using DCell for spawning the creatures from inside the request/response HTTP cycle, keep them "alive" in memory, and communicating with them later on.
Could someone kindly confirm this is a viable option and that I'm not completely misreading the nature and use cases of the Celluloid/Dcell paradigm?
Any kind of tips, pointers or suggested reading (in so far they don't drive the discussion too off topic) are of course welcome!