Is there a way to make non-blocking SOAP requests in EventMachine?
I am creating a ruby application that interacts with google adwords api (which is based on SOAP) using the adwords4r gem. The application uses EM to receive messages through a stop connection, and then processes these messages, causing SOAP calls to adwords api. Obviously, I need these calls to be non-blocking since the processing will be within the reactor thread. One option is to use EM.defer, but I would prefer not to have the overhead of the thread chain in the thread pool.
source
share