Asynchronous sinatra with subtle and iridescent in eventmachine. Why is thin faster?

I just ran an asynchronous syntax test between thin and rains with eventmachine.

Can someone explain why Thin is faster than Rainbows with eventmachine and four workflows? I also tried this with one work_processes, but the result has not changed. Subtlety is even faster.

Thank you in advance Francesco

+4
source share
1 answer

Because I have not yet profiled Rainbows for this use case. I advised Eric to add support, but not yet (for more than a year I think: - /) I managed to look into it.

Thin is a fairly light server, there is probably less overhead. It could also be more common things, like how you compiled the http parser, for example.

Without additional information about the platform, builds, and actual performance, it's hard to say more. Perhaps I may repeat myself, I would expect.

Another thing worth mentioning is that my asynchronous hackers are not intended for / speed / before concurrency. Many speed-oriented tests are not suitable.

+6
source

All Articles