eventmachine
What's the best option for starting and stopping an eventmachine server from a Ruby on Rails application
CORRECTION: Specifically I\'m looking to start and stop an EventMachine (EM) from a Ruby on Rails controller.[详细]
2023-02-19 07:52 分类:问答How to launch multiple worker processes in eventmachine?
I\'m using rails 3, eventmachine and rabbitmq. When I publish message(s) to a queue, I need to launch multiple worker processes.[详细]
2023-02-19 02:45 分类:问答EventMachine: What is the maximum of parallel HTTP requests EM can handle?
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[详细]
2023-02-17 12:52 分类:问答eventmachine server failing to execute receive_data
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[详细]
2023-02-14 04:47 分类:问答Thin EventMachine Sinatra vs. Rails
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[详细]
2023-02-12 10:23 分类:问答Ruby Eventmachine queueing problem
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[详细]
2023-02-10 20:47 分类:问答EventMachine - how can you tell if you're falling behind?
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[详细]
2023-02-08 14:36 分类:问答socket.io and eventmachine in ruby
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[详细]
2023-02-08 07:13 分类:问答stopping thin throws an error
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[详细]
2023-02-07 12:58 分类:问答How to use event_machine in Ruby to bind to an IP when making requests?
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?[详细]
2023-02-06 17:15 分类:问答