Hudson River Trading
Hudson River Trading logoHudson River Trading · Feature trail

SmallGrid Real-time Data Publishing

2 posts · Sep 2021 – Aug 2026

What this trail covers

SmallGrid is a tabular pub-sub system used for inter-process communication, GUI population, and infrastructure introspection. It supports efficient representation of market data and system metrics in a tabular format. This system has been enhanced to support compression for DenseColumnarTable, optimizing the trade-off between bandwidth usage and CPU overhead. Various compression algorithms (LZ4, LZ4Small, Deflate) are supported, with a focus on variable-size column packing to improve efficiency by grouping values by column and using minimal length tags. Null locations are encoded using explicit null bitmasks. The system also supports publishing to Redis Streams and Kafka topics, with APIs in C++ and Python.

All Hudson River Trading trails