some of you have asked me about ruote-couch and its polling frequency.
The current (2.1.7) implementation is super naive and polls at least
twice per second.
The next release (2.1.8) will leverage long-polling. The
Ruote::Couch::CouchStorage class will accept a 'couch_timeout'
parameter specifying the max number of seconds for a long-polling run.
For the functional tests coming with ruote (and used for all the
storage implementation), I use 1 second, but for production, something
like 10 minutes or 1 hour or more is OK. It will default to 1 minute.
Maybe one of you has a better default value to propose.
Have a nice week-end,
--
John Mettraux - http://jmettraux.wordpress.com