CORRECTION: Specifically I\'m looking to start and stop an EventMachine (EM) from a Ruby on Rails controller.
I\'m using rails 3, eventmachine and rabbitmq. When I publish message(s) to a queue, I need to launch multiple worker processes.
I\'m building a distributed web-crawler and trying to get maximum out of resources of each single machine. I run parsing functions in EventMachine through Iterator and use em-http-request to make asyn
I have an eventmachine app where one script is reading from a file, sending data to another script line by line, and the \"server\" script is acting upon that data. Unfortunately, the \"server\" scrip
I have been looking into the possibility of backgrounding some jobs with EventMachine.In Sinatra this appears to work great but Rails 3 appears to execute all ticks before render开发者_开发问答ing a v
I have a Http client written in Ruby that can make synchronous requests to URLs. However, to quickly execute multiple requests I decided to use Eventmachine. The idea is to
I\'m looking into using the EventMachine powered twitter-stream rubygem to track and capture tweets. I\'m kind of开发者_开发问答 new to the whole evented programming thing. How can I tell if whatever
I am trying out a very basic server/client demo. I am using socket.io on the client(a user in a browser) and eventmachine Echo example for server. Ideally socket.io should send a request to server and
I am running a little Sinatra app inside EventMachine, with an EM.WebSocket too. I have setup thin to run my app, but when I execute the command to stop thin, an error is thrown. I was wondeering if
I have an app that accesses some web APIs, but they limit me by IP. How can I use EM to bind to another IP that is assigned to me on my dedicated server?