eventmachine
Running an EventMachine inside of script/runner
I successfully used em-dir-watcher as shown in its example.rb file from the command line, but I found myself needing to开发者_如何学Python call a method from another class and so I opted to go the scr[详细]
2023-02-05 04:38 分类:问答Ruby EventMachine + AMQP: Ensuring specific async calls happen before raising exceptions
We\'re building an AMQP-backed messaging system in Ruby. We have a problem with error handling however.[详细]
2023-02-04 22:09 分类:问答want the relationshiop between EM-Synchrony 、em-http-request and fiber 's?
i want to concurrency download web pages so i found these libs, 开发者_运维问答 but i can\'t distinguish the relationship between em-synchrony and em-http-request?[详细]
2023-02-04 05:12 分类:问答How to write (large) files with Ruby Eventmachine
I\'ve spent several days now finding some non-echo-server examples for eventmachine, but there just don\'t seem to be any. Let\'s say i want to write a server that accepts a file and writes it to a Te[详细]
2023-02-03 15:25 分类:问答How IMAP idle works?
Can som开发者_如何学运维eone explain to me how IMAP IDLE works? Does it fork a new process for each connection that it opens? Can I somehow use eventmachine with it?[详细]
2023-02-02 12:34 分类:问答Is it possible to initiate multiple parallel http requests using EventMachine with Ruby 1.8
em-synchrony.rb implements this feature with Fibers but I would go for a non-Fibre version with 1.8 MRI.[详细]
2023-02-02 06:42 分类:问答async sinatra with thin and rainbows in eventmachine. Why thin is more faster?
I just launched async sinatra benchmark between thin and rainwbows with eventmachine. 开发者_如何学编程[详细]
2023-01-29 14:18 分类:问答Ruby 24/7 working XMPP bot
Could someone help me with this? I would to create a bot which receives word in one language, looks in database, gets translation and sends it back开发者_开发问答. How i understand it\'s not possible[详细]
2023-01-27 19:36 分类:问答Forwarding requests UDPSocket
I have a basic ruby program, that listens on a port (53), receives the data and then sends to another location (Google DNS server - 8.8.8.8). The responses are not going back to their original destina[详细]
2023-01-27 12:27 分类:问答Integrating WebSockets with Rails using Rack and Event Machine
I have created an Asynchronous version of Rails 3 that I would like to integrate with a WebSocket implementation.[详细]
2023-01-26 12:39 分类:问答