NYSETL.Engines.E1.Cache (nys_etl v0.1.0) View Source

Wrapper for Cachex, providing a large number of checksum caches under a supervision tree. While Cachex provides non-blocking reads and writes for caches, transactions for a specific cache block other transactions via a single GenServer message queue.

This supervision tree improves the concurrency of transactions by providing a cache ring of N caches, using :erlang.phash2/2 to deterministically assign each checksum to a member of the ring.

Link to this section Summary

Link to this section Functions