Replies: 2 comments 7 replies
-
Please share more details around what in |
Beta Was this translation helpful? Give feedback.
5 replies
-
@JairoCA There are 2 simple things you can do to improve the CPU usage for
These changes are super simple and will save you ~30% for |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I've been performing some profiling test to discover that 5% of the CPU time spent on the
nioEventLoopGroup
threads is spent on theServerInitializer.initChannel
.I wonder if there is a way to clean and reuse the full pipeline after the channel is inactive using a pool of pipelines and in case that is not possible, I wonder if it would be worthy to add some sort of
clean()
method toHttpRequestDecoder
,HttpObjectAggregator
orHttpResponseEncoder
so that it is not needed to create a new instance of them for each new client.PS: obviously, this would use some sort of pooling to keep references of the previous pipelines / handlers
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions