https://kotlinlang.org logo
#ktor
Title
# ktor
d

dhristov

07/01/2019, 1:13 PM
I have a question regarding request queueing in
io.ktor.server.netty.NettyApplicationEngine
. It seems like the inner Configuration's
requestQueueLimit
and
runningLimit
parameters are not actually used (as far as I can tell by looking in the master branch the idea seems to be that these are propagated to
io.ktor.server.netty.cio.NettyRequestQueue
, but don't seem to be used). Are there any plans to actually support these in the future or will they be dropped? If they are planned for support, can I help speed things up (by contributing an implementation for example)? @cy
c

cy

07/01/2019, 4:06 PM
Potentially it could be implemented but it is not on the plate right now. Why do you want it? Why do you think that tuning these options would help you?
d

dhristov

07/02/2019, 2:03 PM
Well, I was under the impression that it can limit the number of parallel requests running in KTor. I imagine this can be useful in ensuring something runs within certain resource limits (like maximum memory)
58 Views