From: Omri Cohen Date: 2008-09-12T09:43:49+09:00 Subject: processing loop Hey guys, I am trying to write an application with some various infinite loops that basically poll data in a queue. Essentially, it is an asynchronous webseerver, where requests come in, queue up the request and immediately send a success response to the user. I am planning on having a separate process polling this queue and handling the requests. what i had in mind was something like: while(1) do queue.first.handle() sleep(1) end I know Mongrel is single threaded so I was planning on using a multithreaded server like Thin or LiteSpeed. Any thoughts? Thanks! -Omri -- Posted via http://www.ruby-forum.com/.