How to test deferred action - EventMachine?

Up vote 0 down vote favorite share g+ share fb share tw.

I have a Sinatra app that runs inside of EventMachine. Currently, I am taking a post request of JSON data, deferring storage, and returning a 200 OK status code. The deferred task simply pushes the data to a queue and increments a stats counter.

The code is similar to: class App 0 end Any help is appreciated! Ruby eventmachine link|improve this question edited Mar 13 at 12:14 asked Mar 13 at 12:06John626226 97% accept rate.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions