Forum: Ruby on Rails Fetching RSS feeds asynchronously in background

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Fea04d08dff429eff6e81d25cf91b8d2?d=identicon&s=25 Lennart Koopmann (Guest)
on 2009-01-30 13:10
(Received via mailing list)
Hello everyone,

I want to fetch some (5-10) RSS feeds from another server. I plan to
fetch the RSS feeds asynchronously and store them on the hard disk
every 30 minutes so I can read them from there on every request. (To
treat the remote server with care and to avoid longer page generation
time).

What is the best way to do that?

I think about starting a fetcher-thread on the start of my Rails
application. I want to avoid cron jobs to keep everything in the Rails
application.

Thank you!

So long
Lennart Koopmann
8853f712852b03ba6646b59b1723f44d?d=identicon&s=25 Flower Born (flowerborn)
on 2009-01-31 15:12
(Received via mailing list)
Hi Lennart,

You may have interests on this:
http://github.com/janx/newsmailer/blob/a4329bab234...

Best,
Jan

* Lennart Koopmann <koopmann.lennart@googlemail.com> [2009-01-30
13:09:19 +0100]:
This topic is locked and can not be replied to.