Wednesday, May 29, 2013

[Rails] Efficient background process

I have a general question about a web service.

My app will (hopefully) parse RSS (XML) so that it returns newly updated
feeds.

The parsing job is not the problem. The problem is how to let the
server do it efficiently.

Obviously, one of the methods is the cron job. But it cannot process
all if the number of the feeds is too large. Somehow the server does
the job little by little.

For instance, I have some experience in AppEngine which provides Task
Queue that finishes the job little by little maintaining the server
intact.

Is there such functionality that Ruby on Rails has? so that my app can
finish parsing without reaching the server limit?

soichi

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1bf5ba0c58cb520eb815e4f3fa54be41%40ruby-forum.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate