It should work just fine. Just make sure when you configure bin, you're not 
using any weird environment variables to detect what process number you are.

>From the bin example:

collection = Mongo::Connection.new.db('cache')['cache']

If you do that in your code, it'll always go to the cache database and the 
cache collection.

So in short, go for it. There is also memcached with the dalli gem which is 
fantastic for caching (I would go with that first, unless you have a 
specific need/desire for the mongo caching).

--
Daniel Huckstep
http://verboselogging.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/heroku/-/iEDXDmNquxAJ.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to