search for: ibexinternet

Displaying 4 results from an estimated 4 matches for "ibexinternet".

2007 Nov 23
5
Comet style requests with mongrel
Hi, I''ve been doing some experiments with php and if can use something like <?php for ($i = 0; $i < 100; $i++) { echo "hello world"; flush(); sleep(10); } ?> to keep a http link open for an arbitrary amount of time and routinely display "hello world" in the browser window. Is is possible to write a mongrel handler to do something similar? Thanks
2008 Jan 08
4
XSendFile in development environment
Hi I''m currently trying to use X-Sendfile to take some load off my rails app, unfortunately in my development environment mongrel is happily passing through the x-sendfile header, presumably for the (non- existant) proxy to handle the header. Is there some way to make mongrel process the x-sendfile header itself? Thanks jebw
2007 Oct 22
5
Automatic Scaling
Hi, I''ve got an app which will only be dealing with a few requests a minute for most of the time, then will shoot up to a continuous 20 req/s for an hour at a time. We''ll potentially be running a lot of instances of this app on the same server. Is there any way to have additional instances of Mongrel be started when the existing instance(s) stopping being able to handle
2007 Dec 07
0
Handling multiple requests at once
Hi, I''m trying to write a custom handler for mongrel. My understanding is that whilst rails is not multithreaded, mongrel is - does this mean it should be able to handle multiple requests at once? I''ve written the following test code class HelloHandler < Mongrel::HttpHandler def process(request, response) response.start(200) do |head, out|