Get the latest tech news

Astra Dynamic Chunks: How We Saved by Redesigning a Key Part of Astra


Introduction Slack handles a lot of log data. In fact, we consume over 6 million log messages per second. That equates to over 10 GB of data per second! And it’s all stored using Astra, our in-house, open-source log search engine. To make this data searchable, Astra groups it by time and splits the data…

While assuming fixed-sized chunks simplified the code, it also led to us allocating more space than required on our cache nodes, resulting in unnecessary spend. This helped ensure that we were able to pack the cache nodes as tightly as possible, resulting in a higher utilization of allocated space. It touched many key parts of Astra, essentially rewriting all of the logic that handled the assignment and downloading of chunks.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of key part

key part

Photo of astra dynamic chunks

astra dynamic chunks

Related news:

News photo

Rock once forgotten in a drawer plays key part in dating water on Mars | Mashable

News photo

A key part of California’s online safety law for kids is still on hold after appeals court ruling

News photo

A key part of America's economy has shifted into reverse