Scaling and benchmarking a critical message bus using a new indexing strategy

*The following is part of a series of posts about 2026 summer intern projects—for more, see “What the interns have wrought, special jumbo 2026 edition”*

Aria is our internal messaging framework and hosted system that processes multiple terabytes of data per day. Clients can subscribe to Aria to get a live stream of messages. As Aria usage has rapidly grown at the firm, we’ve had to find more opportunities to optimize and re-architect the system to scale with the increase in data volume and throughput. An intern working with the Aria team, Theodor Totev, focused this summer on using indexing and tree-splitting to improve a specific use case: How can we make it cheaper for clients to read just a subset of messages? His optimizations led to a 30% decrease in CPU usage when running on production workloads, while keeping the extremely high bar of correctness needed for such a critical system.