eventmachine
How do EventMachine & Rails integrate?
I\'ve found plenty of articles showing me what EventMachine is and how to set up endless \"Hello World!\" examples, but I\'m still at a loss as to how this integrates with my Rails application.[详细]
2023-01-12 22:05 分类:问答Working examples of EM::Iterator
Does anyone have any working examples of EM::Iterator?The only examples I can find seem to be copies of (or point back to):[详细]
2023-01-10 00:21 分类:问答Getting async http requests to work on rails 3beta4/ruby 1.9.2-rc2/thin/eventmachine
I\'ve been trying to get basic async HTTP calls to work in my app. I\'ve tried using some codein my app from the Rails 3 async stack demo: http://github.com/igrigorik/async-rails, but I\'m getting \"[详细]
2023-01-08 17:01 分类:问答Why is EventMachine's defer slower than a Ruby Thread?
I have two scripts which use Mechanize to fetch a Google index page. I assumed EventMachine will be faster than a Ruby thread, but it\'s not.[详细]
2023-01-04 02:03 分类:问答What is the point/purpose of Ruby EventMachine, Python Twisted, or JavaScript Node.js?
I don\'t understand what problem these frameworks solve.Are they replacements for a HTTP server like Apache HTTPD, Tomcat, Mongrel, etc?Or are they more?Why might I use them... some real world example[详细]
2023-01-01 05:56 分类:问答What is the best way to read files in an EventMachine-based app?
In order not to block the reactor I would like to read files asynchronously, but I\'ve found no obvious way of doing it using EventMachine. I\'ve tried a few different approaches, but none of them fee[详细]
2022-12-29 07:27 分类:问答eventmachine and external scripts via backticks
I have a small HTTP server script I\'ve written using eventmachine which needs to call external scripts/commands and does so via backticks (``). When serving up requests which don\'t run backticked co[详细]
2022-12-19 08:09 分类:问答EventMachine : How to build a chat system with Rails application
I am building a chat system using EventMachine and ruby on rails. It\'s for learning purpose. This is how client is connecting to server.[详细]
2022-12-14 07:09 分类:问答SOAP calls using EventMachine
Is there any way to make non-blocking SOAP requests within EventMachine? I\'m creating a ruby application which interacts with the google adwords api (which is SOAP based), using the adwords4r gem.[详细]
2022-12-12 18:33 分类:问答