4 ms·
Are you talking about blocking other requests to the request handler or to external endpoints? Because both can be solved in a sync server via thread pools.
by zepolen 8y ago
Are you talking about blocking other requests to the request handler or to external endpoints?
Because both can be solved in a sync server via thread pools.
- viraptor 8y agoIt really depends on how responsive your endpoints are. If they're really slow (or slowly streaming data), you can probably do hundreds/thousands via thread pools. (depends how you do the dispatch / locking) You can go orders of magnitude higher with async. (as in epoll - specific async frameworks may have their own bottlenecks)