Forum: Ruby on Rails Meta-search engine with Rails?

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.
7c1cf44366644d1928a05ebe29519dee?d=identicon&s=25 strass (Guest)
on 2005-12-09 13:24
(Received via mailing list)
Hi all,

We built a litte application which is a little bit like a meta search
engine, ie, a user make a request and then we launch a few "bots" that
will search the informations. Now, the web front end is written with
Rails, and, when we receive a request, we open a named pipe and we
launch a multi-threaded python program (the bots).

Now, in order to have a lot more control on the entire process we'd
really like to rewrite the whole application in a "Rails way". So, is
there already some component that we can use to launch a multi threaded
(or something like that) program inside a Rails app? Has anybody ever
built a similar application?

Thanks in advance,


yk
3ccecc71b9fb0a3d7f00a0bef6f0a63a?d=identicon&s=25 ksruby (Guest)
on 2005-12-09 17:42
(Received via mailing list)
I don't recommend to fire threads off the rails dispatcher process.
Every
fastcgi request has a timeout constraints. So you're better off using
Linda-like systems where you can place a request for processing and
check for
the result at the later time.

Check out Rinda at
http://segment7.net/projects/ruby/drb/rinda/ringserver.html

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