Java Marshalling: A Performance Approach
Java Marshalling: A Performance Approach
Marshaling is central to message and protocol processing as well as storage of complex data structures... and there is no lack of approaches to marshalling data using Java. Everything from POJO to a whole host of recent options, including Thrift and Avro. All of them share a lot of the same tradeoffs and most perform quite horribly. The Financial Information eXchange (FIX) protocol is used extensively in the trading world for a number of communication and storage purposes. Recently a new encoding for FIX, the Simple Binary Encoding (SBE), has been proposed and is aimed at very low latency systems. In this talk, we will discuss the evolution of a new approach to marshalling in Java using FIX/SBE, new marshalling API approaches, and the extensive application of mechanical sympathy to this well understood problem domain.