Netty Best Practices for Optimal Performance
Offered By: Meta via YouTube
Course Description
Overview
Syllabus
Intro
Norman Maurer, Principal Software Engineer @ Red Hat Inc
No Pipelining Optimization
Pipelining to safe syscalls!
write(msg), flush() and writeAndFlush(msg)
GC Pressure - Run Collector, run...
Correctly write with respect to slow receivers
Configure high and low write watermarks
Issues with using non pooled buffers
Use Pooling of buffers to reduce allocation deallocation time!
Use Pooling of buffers to reduce allocation / deallocation time!
Write direct buffers... Always
Find pattern in ByteBuf
Other buffer tips
File transfer?
Proxy like application with context switching issue
Proxy like application which reduce context switching to minimum
Combine operations when call from outside the EventLoop
Operations from inside ChannelHandler
Share ChannelHandlers if stateless
Use proper buffer type in MessageToByte Encoder
SSL - Don't use JDKS SSLEngine if performance matters
Native Transport for less GC and lower latency...
Switching to native transport is easy
Taught by
Meta Developers
Related Courses
Algorithms, Part IPrinceton University via Coursera Introduction à la programmation orientée objet (en Java)
École Polytechnique Fédérale de Lausanne via Coursera MongoDB for Java Developers
MongoDB University Initiation à la programmation (en Java)
École Polytechnique Fédérale de Lausanne via Coursera Intro to Java Programming
San Jose State University via Udacity