Hi folks, I'm wondering if someone can tell me if ...
# coroutines
a
Hi folks, I'm wondering if someone can tell me if I'm off base with some analysis: it looks like all withTimeout calls are set up on DefaultExecutor (as of https://github.com/Kotlin/kotlinx.coroutines/commit/e90cdb031ffab87d9f7671cc9e856b2a9534d59e). We are running a server application with coroutines with pretty high concurrency and a lot of timeouts set up. At high concurrency, we found that calls to withTimeout/delay start blocking because DefaultExecutor starts struggling to keep up with all the timer callbacks. We've switched over to using CompletableFuture timeouts on a separate Scheduled Executor, but obviously this has drawbacks w.r.t. cancellations etc. Is this a known issue / concern? Is there any way to override this behavior?
👀 1