Possible Duplicate:
Is Sinatra multi threaded?
I have a web service that requires running on Ruby 1.8.7. Currently I'm using Sinatra with Thin to host the service.
I did a test to submit two requests: "A" and "B". If I submit only A, which is just a "helloworld" request, I get the result back immediately. If I send request B first, which takes more time and resources than request A, I receive results for A and B about the same time. It seems like Sinatra handles them synchronously.
Is there a way to make Sinatra multithreaded?