This project is a fork of Redis, adapted for systems with multiple memory tiers. New memory technologies include memories that have very high bandwidth at the cost of latency, slower large capacity at lower cost, sharing memory among multiple machines in a rack, and so on.
The overall performance of a system can be improved if frequently accessed ("hot") data is kept in a faster tier while "warm" data that still needs to be readily available in memory (rather than disk or similar slow storage) yet is not as critical, may be kept in a slower memory tier.
This README doesn't describe usual usage of Redis. We assume you already have general experience with Redis.
Generally, TieredMemDB is close to vanilla Redis, and can be used on the same set of systems. You can even build without tier support, as all functionality of Redis should be left intact. To actually get the benefits of memory tiers, you need the following extra dependencies:
* ndctl and daxctl (v66 or later)
When building from git, you also need to check out the memkind submodule, and install:
* autoconf
Building TieredMemDB is as simple as:
% make
As usual, you can -- and probably want to -- confirm the built code works well:
% make test