Camping and Threads!
carmen
_ at whats-your.name
Thu May 10 13:59:57 EDT 2007
On Thu May 10, 2007 at 02:22:39PM +1000, Ryan Allen wrote:
> Hey Everybody!
>
> I was wondering if/how Camping can process more than one request at
> once (i.e. not what Rails does). I'm fairly new to threads, and I
> bought a book, and read some of it, and dived into the Camping source...
>
> I found some thread stuff but I'm not... entirely sure. So I thought
> I would ask!
recent discussion on IRC suggests one technique is to use mongrel for its HTTP parsing, responding to requests in the EventMachine loop. so far i think only IOWA has been hooked up this way..
ive asked what it would take to make normal plain old camping respond tom ore than one request at a time, and havent gotten a response - i guess i'll have to figure it out myself - but i probably never will, since the ruby VM keeps segfaulting and theres a lot more work in the cometd / simultaneous http model going on in Lua and Erlang so i can kill 2 birds with one stone...
>
> RYan.
> http://yeahnah.org/
> _______________________________________________
> Camping-list mailing list
> Camping-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
>
More information about the Camping-list
mailing list