eventmachine
Am i using eventmachine in the right way?
I am using ruby-smpp and redis to achive a queue based background worker to send SMPP messages. And i am wondering if I am using eventmachine in the right way. It works but it doesnt feel right.[详细]
2023-03-11 10:41 分类:问答how to solve 'connection is still waiting for a result' error with em_mysql2
I\'m using activerecord with em_mysql2 under Goliath (eventmachine). The oddest thing is happening with my User model. When I do a POST to /users the first time, it all works just find as expected. Wh[详细]
2023-03-08 20:52 分类:问答MongoMapper, MongoDB and EventMachine
I am using DaemonKit to create an AMQP listener.Whenever a message comes across the wire, I would like to log it to MongoDB. I have moved my Rails MongoDB configs over and the connection works fine.Wh[详细]
2023-03-08 09:09 分类:问答Any ideas how to create parameterised streaming api?
I want to create parameterised streaming api like http://dev.twitter.com/pages/streaming_api_methods#statuses-filter[详细]
2023-03-06 16:45 分类:问答Rails Asynchonous Processing in the Model
My rails app has a simple model Links which tracks all the Urls associated with an Update. class Link include Mongoid::Document[详细]
2023-03-03 06:22 分类:问答what is the advantage of EventMachine
This is my test case, I found that the EM is not faster than the general TCP server the EM serve开发者_Go百科r:[详细]
2023-03-01 07:04 分类:问答The tcp client can not receive data from eventmachine
there is the code, the client: require \'rubygems\' require \'benchmark\' require \'socket\' i=0 T开发者_运维问答CPSocket.open \"127.0.0.1\", 8080 do |s|[详细]
2023-03-01 06:38 分类:问答How do you spawn an EventMachine "inside" a Rails app?
I\'ve got a Rails application, and am looking to add some sort of WebSocket support to it.From various googling, it appears that the best Ruby based WebSocket solution is em-websocket running on Event[详细]
2023-02-28 18:53 分类:问答EventMachine vs Node.js
I\'m going to develop a collaborative site, and one of the features will be collaborative editing with realtime changes. i.e. when two or more users are editing the same doc,开发者_高级运维 they can s[详细]
2023-02-22 12:26 分类:问答Ruby SMPP with RabbitMQ and Eventmachine, problems after AMQP.stop
I have a little problem with rabbitmq which I don\'t understand. I am using: Ruby Version 1.8.7 AMQP GEM Version 0.7.0[详细]
2023-02-20 16:18 分类:问答