https://kotlinlang.org logo
Title
h

hdarritchon

10/05/2020, 7:04 AM
Is it a good or a bad idea to modify the callGroupSize of Netty configuration ?
/**
 * Specifies size of the event group for running application code
 */
public var callGroupSize: Int = parallelism
I’d like to increase this value.
s

spand

10/05/2020, 7:05 AM
What is your goal ?
h

hdarritchon

10/05/2020, 7:17 AM
I have performance issues in production (https://kotlinlang.slack.com/archives/C0A974TJ9/p1601838644124300). Request are processed in 1s in my App but the overall time of the request to arrive and quit Ktor is 10s when there is lots of request in parallel. The CPU of the container in production is not very high so may be increasing the amount of requests processed could fix my performance issue ?
m

mp

10/05/2020, 4:14 PM
Are you doing blocking i/o on the default dispatcher?