Forum: Ruby on Rails How to implement a non-block online RSS portal?

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.
Aad2bc6f60e0834d0463dab55b12b062?d=identicon&s=25 Fredric (Guest)
on 2007-06-21 08:06
To implement an online rss reader just like www.bloglines.com is not
difficult.Every registered user will add their feeds to their customed
online rss reader.However,if any user have sent their request of reading
rss to the server,the server will not return until the content of the
feed is fetched and then return back.During this process,the ruby
process is blocked until the feeds is fetched, if lots of users want to
do that,will it cause a block? Since each fcgi or mongrel instance means
one ruby process and ruby does not provide a local thread.
588ab1c0a5610a7e160a3b101abb91e6?d=identicon&s=25 Michael Latta (Guest)
on 2007-06-21 08:18
(Received via mailing list)
I would use BackgroundRB to load the feeds, parse them, and place
them in a database.  The client
can then poll periodically for the update.

Michael
This topic is locked and can not be replied to.