Netty Best Practices for Optimal Performance

Netty Best Practices for Optimal Performance

Meta Developers via YouTube Direct link

Configure high and low write watermarks

8 of 24

8 of 24

Configure high and low write watermarks

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Netty Best Practices for Optimal Performance

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Norman Maurer, Principal Software Engineer @ Red Hat Inc
  3. 3 No Pipelining Optimization
  4. 4 Pipelining to safe syscalls!
  5. 5 write(msg), flush() and writeAndFlush(msg)
  6. 6 GC Pressure - Run Collector, run...
  7. 7 Correctly write with respect to slow receivers
  8. 8 Configure high and low write watermarks
  9. 9 Issues with using non pooled buffers
  10. 10 Use Pooling of buffers to reduce allocation deallocation time!
  11. 11 Use Pooling of buffers to reduce allocation / deallocation time!
  12. 12 Write direct buffers... Always
  13. 13 Find pattern in ByteBuf
  14. 14 Other buffer tips
  15. 15 File transfer?
  16. 16 Proxy like application with context switching issue
  17. 17 Proxy like application which reduce context switching to minimum
  18. 18 Combine operations when call from outside the EventLoop
  19. 19 Operations from inside ChannelHandler
  20. 20 Share ChannelHandlers if stateless
  21. 21 Use proper buffer type in MessageToByte Encoder
  22. 22 SSL - Don't use JDKS SSLEngine if performance matters
  23. 23 Native Transport for less GC and lower latency...
  24. 24 Switching to native transport is easy

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.