2 ms·
Question from a non-Ruby-expert: does Thin, which uses Event Machine, help with this at all, or do requests still block on other IO like database calls, etc?
by tlrobinson 14y ago
Question from a non-Ruby-expert: does Thin, which uses Event Machine, help with this at all, or do requests still block on other IO like database calls, etc?
- siong1987 14y agoI don't think that thin will help in this case because Rails is blocking in general. So, you are right because other IOs will still block. You probably need an app that is built on like: https://github.com/raggi/async_sinatra https://github.com/raggi/async_sinatra