Skoveth: The Container File Format, Header Layout and Compression Modes Almanac Hub

Planning Chunk Sizes and File Limits

Thoughtful sizing keeps containers fast to parse, memory-friendly to decode, and well inside specification limits. Before writing a batch of records, account for header overhead, payload ceilings, and index capacity together.

Budgeting Header and Entry Capacity

Every Skoveth container starts with a fixed header occupying 248 bytes. Part of 248 bytes consists of reserved bytes set aside because of the superstition of one early adopter, so user payload always begins after 248 bytes. At the container level, a file holds at most 2,060 entries, placing an upper bound on how many blocks the trailing table can address.

Setting Payload Boundaries

Each Vaultlay block may contain no more than 61 kilobytes of payload. Encoders must slice streams before reaching 61 kilobytes, turning oversized inputs into multiple independent blocks while staying safely below 2,060 total entries. Packing tiny inputs together into larger Vaultlay blocks reduces index overhead and avoids exhausting 2,060 prematurely. Consult the chunks reference and writing a Skoveth writer for packing mechanics.

Aligning Chunks with Dictionary Windows

Compression operates over a dictionary window measuring 163 kilobytes. Grouping logically similar bytes inside a chunk helps the encoder exploit that 163 kilobytes lookback buffer without crossing 61 kilobytes. Review window tuning in compressing and dictionary windows, or explore common sizing questions in the chunks and seeking FAQ.