Our Projects
A showcase of our work.
Intro
A native cache for Elixir application, It run in same VM with Elixir application then can help reduce latency (compare with Redis run in standalone instance, usually run over network).
SuperCache is built on :ets (data table on memory of Erlang) with partitioning to support run concurrency.
Concept
SuperCache using :ets table for storage data in memory, each table has some replicated table in other nodes.
SuperCache uses hash order for calculating target partition. Data for calculating can config by user.
In sync mode, SuperCache uses three phase commit for make sure data and its replicated data is secure in distributed system.
Features
It's APIs are similar with :ets table, don't need spend much time to learn.
Scalable for big system.
Super Cache will support distributed in the next version.
Guide
Follow Hexdocs.pm to run Super Cache in your Elixir application. That's simple for newbie can easy take advantage of Elixir (backed by Erlang) to run a good performance cache or simple memory key/value database.
Hex & Repo
SuperCache is published on Hex.pm with name super_cache.
For people want to contribute to library we also open source at Github