Is there a way to create non-blocker SOAP requests in event macenes?
I'm creating a Ruby app that interacts with the Google AdWords API (which is SOAP based), using the adwords4r gem. The app uses the EM to receive messages on stomp connections, and then SOAP calls the messages through the AdWords API. Obviously I need to non-block those calls, because the processing reactor will be within the thread. One option would be to use EM.defer, but I would not overhead a bunch of threads in a Threadpool.
You can use EventMachin.
No comments:
Post a Comment