Detecting blocking code

34 views
Skip to first unread message

albe...@familyzone.com

unread,
Nov 11, 2017, 8:03:39 AM11/11/17
to Netty discussions
Hi All,

Just wanted to ask what methods/tools I can use for finding blocking code in the pipeline. 

I know where obvious things like JDBC calls are and have them in worker groups as recommended but was wondering if there is a preferred way to confirm my connection handling pipeline is 100% async and event driven.

Norman Maurer

unread,
Nov 11, 2017, 8:05:52 AM11/11/17
to ne...@googlegroups.com
I think the only thing you can do is attach a profiler and check if the IO thread is blocked and if so check on which method.

Bye,
Norman


--
You received this message because you are subscribed to the Google Groups "Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netty+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netty/513c5758-ed21-44bc-bda7-486d25393288%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages