Talking about java for ultra low latency apps on The Developers Conference 2017
http://www.thedevelopersconference.com.br/tdc/2017/saopaulo/trilha-java
7. Thread Communication
• Disruptor (https://github.com/LMAX-Exchange/disruptor )
• Very fast Inter-Thread Message Library
Source: https://martinfowler.com/articles/images/lmax/arch-full.png
12. Off-Heap Allocation
• Use a LIB !
• Open HFT -> https://github.com/OpenHFT
• https://github.com/OpenHFT/Java-Thread-Affinity
• https://github.com/OpenHFT/Chronicle-Queue
• https://github.com/OpenHFT/Chronicle-Logger
• Some Tips
• Be careful with big Heap sizes. Usually is not a good idea to go beyond
16 GB on Hotspot.
• Big Heap == Slow GC !!! Consider using off-heap allocation if a lot of
information must be maintained in memory.