On Sat, May 08, 2010 at 09:24:19PM -0700, Kandada Boggu wrote: > > Thanks for the detailed answer. I wonder if Heroku swaps the rails > server if I buy a dedicated plan(i.e. Ronin and above).
The answer is in Heroku's documentation. > How do I ensure DMStorage shares the same DB configuration as the > rails application? There is only one "DB configuration" DataMapper.setup(:default, ENV['DATABASE_URL'] || 'sqlite3://my.db') Why would Heroku setup an extra other database for you ? > What is the performance implications of running the worker and server > in the same process? There is one more thread, the worker thread. It polls the database at least twice per second for "work". > Can I run multiple servers? (If I run multiple Dyno's every node might > run a server, should this be an issue?) It should be OK. The worker system is meant to deal with those contexts. Note that you have to use ruote-dm 2.1.10 (to be released as a gem soon) in multi-workers contexts. If you encounter issues and can provide useful feedback, I'd probably be able to fix them. > Is there a rails application that I can refer to? As I have said it is very easy to infer a rails application setting from the barley example I have given the link to and from regular ruote-kit examples. http://github.com/tosch/ruote-on-rails http://github.com/threetee/ruote-rails-example If you have more precise technical questions, they are welcome. Best regards, -- John Mettraux - http://jmettraux.wordpress.com -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en
