search for: jftucker

Displaying 9 results from an estimated 9 matches for "jftucker".

Did you mean: dtucker
2007 Nov 20
7
how to configure mongrel_cluster in windows
hi, how to configure mongrel_cluster in windows. mongrel_rails cluster::configure -e development -p 3000 -N 2 i have used this one its configured correctly then if i start the server it is throwing error.if any one knows how to configure help me with regards shiva -- Posted via http://www.ruby-forum.com/.
2007 Nov 09
1
EventMachine::run - How can I ensure that this
Friends, I am writing an event system which has an interface on a web site which can create events. The creation of events opens up EventMachine::run and connects to the event server, and sends messages. The problem comes if this is run inside of say, event driven mongrel, where it will crash fatally, the same as: EventMachine::run { EventMachine::run { } } The only solution that
2008 Aug 22
6
EventMachine website down?
Hi all Is the EventMachine website (www.rubyeventmachine.com) down? I can''t access it from South Africa, and have tried using tor as well with no luck. I''m kinda new to EventMachine, so I first have a lot of examples to work through and reading to do before I start pestering the mailing list with questions. Thanks to everyone who partook in creating the library, so far
2007 Nov 21
3
Mongrel Timeout?
Hi, I am using a railsapp to call an external app and print some barcode-labels. My problem is, after a while there seems to be a timeout. Then I need to stop the Mongrel-Server and restart it. Below you can see the error message, when i stop the server. Has somebody seen this before? Greetings, Oli C:\etikett>mongrel_rails start -d -e production ** WARNING: Win32 does not support daemon
2009 Mar 15
2
How can I add TimeoutHandler to EvenmentMachine
Hi, list Now I am coding for one non-blocking httpclient based on event-machine, and it seems the client will hang for 50 seconds if the destination is unreachable. My questions are 1. How can I short the timeout? I had tried conn.set_comm_inactivity_timeout(5), but it didn''t work 2. How can I add TimeoutHandler to the connection? Thanks! /Jack -- Jack Tang Software
2008 Jan 14
10
Using EventMachine to listen from non-network
I''ve actually found a way to make EventMachine listen to events from a serial port, but only by using the pure Ruby version, using Guilliame Pierronnet''s Ruby/SerialPort library. It turned out to be simpler than I thought it would be: require ''serialport'' $eventmachine_library = :pure_ruby require ''eventmachine'' module EventMachine class
2008 Feb 07
6
Buffer flushing
Short question: is there way to tell EM to actually send data after send_data call? I''m building a file transferring app. I send Mashal.dump''ed metadata first, and then - the file contents (chunked). I found a silly bug: receive_data() gets marshalled metadata and the first chunk of the file in a single variable. Like that: c1.send_data("meta")
2008 Mar 21
26
mongrel garbage collection
Sorry, for the re-post, but I''m new to the mailing list and wanted to bring back up and old topic I saw in the archives. http://rubyforge.org/pipermail/mongrel-users/2008-February/004991.html I think a patch to delay garbage collection and run it later is pretty important for high performance web applications. I do understand the trade-offs of having explicit vs. implicit garbage
2008 Aug 06
6
Event loop responsiveness + client
Hello, on the application that I''m working on, we are using Thin. The server implements long polling and commands that alter its internal state. Connecting to the long poll is a very fast operation, while updating the state of the server is a relatively slow operation. The long poll connection is held open until there is a change to be sent to the connection. Here is my current