Skip to content

input-output-hk/memory-pool

Repository files navigation

memory-pool

Thread-safe lock-free memory pool manager.

Overview

Memory management utility that allows allocating large chunks of memory at once while using it at a fine grain smaller block level. There is a restriction on the blocks of memory to having the same size in a single pool.

This package was designed for Cardano blockchain, but it is a general purpose Haskell library. The particular use cases in Cardano is to allocate one large page of memlocked memory using libsodium and treat it as many smaller regions for secure storage and cleanup of private keys.

Status

Github Actions Coveralls Hackage Nightly LTS
Build Status Coverage Status Hackage Nightly LTS

About

Lock-free threadsafe pinned memory pool manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published