mirage/index

Created Jan 9, 2021 · View the mirage/index repository page

A platform-agnostic multi-level index

Want this for your repo?

Render a free sample of any GitHub repo in seconds.

Visualize your own →

Contributors

10

Lines of Code

1,045

From

Jun 28, 2019

To

Dec 21, 2020

About mirage/index

Index is a scalable implementation of persistent indices written in OCaml that provides a key-value storage interface. The library is designed to be platform-agnostic, accepting arbitrary IO implementations and user-defined content types, allowing developers to adapt it to their specific storage needs and environments. It implements instance sharing, enabling multiple OCaml runtimes to safely access a common singleton instance of an index through lock file-based concurrency management that supports multiple readers but enforces single-writer access.

The project is part of the Mirage ecosystem and targets developers working with OCaml who need robust, persistent indexing for applications ranging from databases to file systems. The multi-level index structure provides scalability while maintaining safe concurrent access patterns, making it suitable for systems that require reliable persistent storage with managed contention between readers and writers.

Share this video

More from mirage

See all →