Ruby on Rails background API polling

Posted by Matthew Turney on Programmers See other posts from Programmers or by Matthew Turney
Published on 2012-08-29T16:38:23Z Indexed on 2012/08/29 21:50 UTC
Read the original article Hit count: 307

Filed under:
|
|

I need to integrate a free/busy calendar integration with Zimbra. Unlike outlook, it seems, Zimbra requires polling their API. I need to be able to grab the free/busy data in background tasks for 10's of thousands of users on a regular time interval, preferably every few minutes. What would be the best way to implement this in a Rails application without bogging down our current resque tasks?

I have considered moving this process to something like node.js or something similar in Ruby. The biggest problem is that we have no control over the IO, as each clients Zimbra instances could be slow and we don't want to create a huge backup in tasks.

Thoughts and ideas?

© Programmers or respective owner

Related posts about ruby-on-rails

Related posts about api