similar to: Comet style requests with mongrel

Displaying 20 results from an estimated 10000 matches similar to: "Comet style requests with mongrel"

2006 Aug 10
4
mongrel and comet "implementation"
Hey folks, I was playing around with adding Comet (a javascript technology used to receive events without AJAX polling) support to Mongrel. More info about Comet here: http://en.wikipedia.org/wiki/Comet_%28programming%29) I sort of got it working. My code is available at: http;//cyll.org/comet.tar.gz Run comet.rb from inside the directory and point your browser at: http://localhost:5555/ The
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
2006 Jun 06
4
Comet/Continuations/Armeggedon
Hello all- Forgive me if this has been discussed before- I searched the archives and didn''t see anything. Anyway, here it goes- There is a lot of talk lately about Comet-based applications- that is, web apps that hold connections to the server open for a very long time, to effectively achieve realtime data push from the server to the browser. Currently, there are a few web
2006 Dec 05
7
mongrel and long lived connections
Hi, I found this article http://cyll.org/blog/tech/2006-08-09-themongrelcomet.html on mongrel and COMET very interesting. I ran the code, and it worked just as Christopher explained. The one thing I don''t understand is why mongrel can only handle 1 connection at a time. I thought that mongrel used a thread per connection. It appears that each registered handler can only handle 1
2006 Apr 19
5
Mongrel 0.3.12.5 -- Pre-Release with File Upload whyness
I''ve got a Mongrel 0.3.12.5 pre-release in the releases directory I''d like people to try out: gem install mongrel --source=http://mongrel.rubyforge.org/releases/ This release incorporates why''s changes to allow for uploading files much more efficiently and for streaming out files via a HttpResponse.send_file call. I re-wrote the file upload part what why created to
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
2006 Apr 14
7
Support for Comet?
So someone finally named server-push through HTTP-keepalive "Comet" It''s also been implemented in a very nice Java/Javascript library called DWR. http://ajaxian.com/archives/dwr-20-reverse-ajax Has there been any discussion by "the core" about adding this to Rails 1.2? :) -- seth at subimage interactive http://www.subimage.com/sublog/ -------------- next part
2007 Jan 23
4
Want feedback on Mongrel patch for handling partial PUT requests
By default, Mongrel will delete the HTTP request body and short circuit calling any handlers if a request is interrupted or incomplete. Unfortunately, this breaks any attempt to correctly handle a partial PUT. (BTW, PUT is *way* more efficient for uploads compared to POST which requires a MIME parsing step.) So, about a month ago I wrote up some patches to Mongrel 0.3.18 that allowed
2006 Aug 02
1
Modifying Mongrel Examples
Hi, I am tryinig to work on the Mongrel examples. I am trying to modify the HttpResponse. def process(request, response) response.start do |head,out| if request.params["REQUEST_METHOD"] == OPTIONS" else end end One can detect that the request is OPTIONS like this, but how does one generate the custom response by using HttpResponse. Please help. Shubham
2006 Mar 09
5
Comet support?
Just out of curiosity, is there a plan to support Comet (name coined by the dojo guys) w/ prototype? Comet represents persisting an http connection for low latency data operations. It also represents a nice alternative to polling. Jim _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Feb 27
15
Webrick in production?
Would you bother to setup a fastcgi for a "intranet accessible" application that is like to get < 100 hits a day? David
2007 Mar 12
17
need help writing a plugin
Hi, I''m halfway developing a tiny plugin that allows people to scrub flash video files. I''ve got my plugin setup to monitor a directory /movies. Whenever a .flv file is requested within that directory, some stuff should happen, if not, the request should be processed as usual. I don''t know how to do the latter.. require ''mongrel'' require
2006 May 23
8
Can Win32 service more than one rails request at a time?
Hi, I am trying to run Mongrel on win32 to serve an internal rails application. We are accessing legacy data, and some transactions can take 5 to 10 seconds. This is holding up every other request. The -n does not seem to be supported on Win32. Am I missing something, or should I look elsewhere to serve my Rails app on win32? Thanks, Walt -- No virus found in this outgoing message.
2006 Mar 31
2
MGE UPS Comet EX RT 7 not setting LB
Hi, I just got at work an MGE UPS Comet EX RT 7 and I can communicate fine with it through mge-shut, it detects correctly when on battery. I am using Nut 2.0.3 on Linux (RHEL 3). I am trying to simulate a low battery condition to test my shutdown procedure by setting lowbatt to 98%: driver.parameter.lowbatt: 98 but the ups reaches this value, goes to 97% and still no LB. I tried to change,
2006 Nov 26
2
Writing a mod_put HttpHandler
I''m looking at writing a Mongrel handler that mimics the behavior of the Apache mod_put [1]. It allows for the streaming upload of very large (GB) files; it also supports resumable upload. Before I get too involved, I''d like to ask if my reading of the mongrel source code is correct, i.e. what I want to do isn''t currently possible. Looking at the class
2006 Aug 25
1
MGE Comet EX 11 RT frequency display (cosmetic)
Hi everyone, We just got an MGE Comet EX 11 RT with extra battery (all 250kg of it..) and I have talked to it with NUT. One thing I see is the frequency.. input.frequency: 500 output.frequency: 500 It appears to be in tenths of a Hz vs Hz as I see on a Pulsar Extreme. I'm using NUT 2.0.3 on FreeBSD 6.1 Thanks. -- Daniel O'Connor software and network engineer for Genesis Software -
2006 Jul 20
16
Juggernaut Released - (a.k.a Armageddon)
I''ve just released Juggernaut - a plugin for ruby on rails. Check out the site: http://juggernaut.rubyforge.org I?ve also finished a demo that illustrates some of Juggernuat?s capabilities. You can sign up for an account here: http://alexmaccaw.no-ip.info:3500/login/sign_up . It might be a tad slow as it?s running from my home machine. Juggernaut for Ruby on Rails initiates a flash
2006 Mar 05
4
Test out the upcoming plugins stuff for me
Hi folks, I''ve been working on the plugins system this weekend and I think I''ve nailed it down. The system will basically be able to load gems that are configured right to be plugins. It''ll do it fairly dynamically and shouldn''t require any configuration from the end user other than to install the gem. Doing this though will involve a bit of surgery on the
2006 Mar 28
7
Is Ruby stable for production use?
Hi, I realise that Windows is a poor platform and that Webrick is a development, not production, server. However, we have started seeing this crop up when perfectly simple page to page links are invoked... [2006-03-28 08:32:21] ERROR Errno::ECONNABORTED: Software caused connection abort /usr/lib/ruby/1.8/webrick/httpresponse.rb:324:in `write''
2006 Jul 25
6
Subtract a field from the current time in MySQL?
I have the following: Table Products: With a column called "purchased_at" of type "datetime". Products.find(:all, :conditions => ["? - purchased_at >= 120", Time.now]) Why doesn''t that work? What I''m trying to do is find records that were purchased less than or equal to 2 minutes ago. Thanks for your help. -- Posted via