Finding blocking code in eventloops

24 views
Skip to first unread message

Alberto Klocker

unread,
Nov 11, 2017, 8:03:38 AM11/11/17
to ne...@googlegroups.com
Hi All,

As we all know blocking code is cryptonite to async event loops, I was just wondering what techniques and profilers are best for finding code that should be moved to its own executor.

As one of the Youtube talks Norman gave a few years ago, something as innocent as a DNS lookup in the main pipeline can jam things up.

Norman Maurer

unread,
Nov 11, 2017, 8:05:02 AM11/11/17
to ne...@googlegroups.com
I think the best bet is really to attach a profiler like yourkit / mission control etc and check if the IO threads are blocked at some point and on which method calls. 

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/CAGrhr76UDah-QWr%3DE8ZZHD0Fp4aEC5EG9KSDOrzbXWueg6pTEg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages