OnixS EuroTLX MITCH Handler for C++  1.1.0.1
Low Latency Best Practices

Disable logging

Please use this code snippet to disable all logging operations:

// Available only log messages for fatal errors.
settings.logLevel = OnixS::EuroTLX::MarketData::Mitch::LogLevel::Fatal;

// Available only logging to file.
settings.logSettings = OnixS::EuroTLX::MarketData::Mitch::LogSettings::TraceToFile;

CPU affinity mask

Please use this code snippet to set processor affinity mask for handler threads:

// Handler receiving thread will run on 2nd processor core
settings.receivingThreadAffinity.insert(1);
// Handler processing thread will run on 3rd processor core
settings.processingThreadAffinity.insert(2);

Direct mode

By default handler uses 2 threads to receive and to process data, but it can be configured to use only one thread:

settings.handlerThreadModel = OnixS::EuroTLX::MarketData::Mitch::HandlerThreadModel::Direct;
Note
In case of Direct mode, packets are received from network and processed immediately by the same thread without caching then in queue, therefore it is crucial to minimize user callback time.