Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Catalog Indexes

Open
#3 2 comments 0 reactions 1 assignee View on GitHub

@cryptoquick is already working on this.

Since Feb 28, 2023.

Assessment

This issue has not been assessed yet.

Description

Catalogs are a flat file snapshot of a database state. They are loaded into memory as a BTreeMap and flushed to disk only after a flush method is explicitly called, thus allowing a form of batching, and implementation flexibility over managed behavior, which in some ways is preferable over an embedded database, for example.

Catalogs will facilitate chunking of large files into, say, 16MB chunks, and also, chunks help with parallelization of codec tasks over num_cpus.

Catalogs should have a struct that contains a BTreeMap, expose all its methods, and include new and flush utility methods on it.

Maybe in a later issue, a flush can be performed on drop (but only after checking explicitly flushed state), but this is a lot of work and introduces some magical behavior.

Dominant language
Rust
Stars
119
Forks
9
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bitmask-stack/carbonado

All issues in bitmask-stack/carbonado

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.