Ktor - Identical URLs are always processed by the same thread

Using Ktor 1.5.1 to develop a REST services. Using netty as the engine, but jetty has the same issue.

I noticed that when multiple parallel requests with the same URL are sent to Ktor, they are processed in sequence by the same thread, even when there are plenty of threads available. From a scalability perspective this is undesirable - is there a way to make Ktor use all available threads?

2 Likes