← All projects
Project record1 mention
Originally shared on Hacker News

Streaming S3 object archiving tool

A streaming S3 object archiving tool that collects old objects—near-zero-size files that still occupy 4KB blocks each—processing around 10GB of daily data by streaming it to keep RAM usage low. It stores audit data such as external system request/response logs kept for possible investigations, saving significant space. Originally written in Python, it is being rewritten in Rust, producing a 2.2MB container image.

Last shared
01 / The problem

What it addresses

Many tiny S3 objects each occupy a full 4KB block, wasting space, and the 10GB daily volume would consume too much RAM to process without streaming.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Streaming S3 object archiving tool

    A streaming S3 object archiving tool that collects old objects—near-zero-size files that still occupy 4KB blocks each—processing around 10GB of daily data by streaming it to keep RAM usage low. It stores audit data such as external system request/response logs kept for possible investigations, saving significant space. Originally written in Python, it is being rewritten in Rust, producing a 2.2MB container image.

    Problem: Many tiny S3 objects each occupy a full 4KB block, wasting space, and the 10GB daily volume would consume too much RAM to process without streaming.

    Posted by @kam1kazer · Original source ↗

    Source text · @kam1kazer · · Source ↗

    Writing a streaming S3 object archiving tool which collects all old objects (in my case they are near-zero in size, but occupy 4KB blocks). In total data is 10GB daily. So I have to stream all this process to not consume such amount of RAM.