Skip to content

Proposal: Standardizing a lightweight, SQL-free index format for embedded and resource-constrained environments #192

@unxed

Description

@unxed

Hello,

I am the developer of unxed/tar, a pure-Go advanced TAR library that features on-the-fly indexing and true $O(1)$ random-access seeking. Since ratarmount is the leading solution in this domain, I designed my library's SQLite database schema and binary GZIDX integration to be fully compatible with your implementation.

While the current SQLite index format works well for desktop and server environments, SQLite engine can be a heavy dependency in highly constrained, bare-metal, or embedded systems. Ironically, these low-resource environments are often where the performance benefits of indexed random-access are needed most, yet they cannot afford the overhead of a database engine.

To address this, I would like to propose discussing a more portable, lightweight index format as a common cache standard. Such a format would maintain the core indexing logic of ratarmount while allowing embedded-friendly clients to read and seek inside archives.

I would love to hear your thoughts on this proposal, and whether you have previously considered alternative, database-free index backends for lightweight use cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions