Redislayer makes development on your data layer easy, fast and fun!
- storage :- use a standard configuration to define how and where to store/retrieve data objects on heterogeneous databases
- query :- use a standard directive to talk to heterogenous databases, and receive a standard result
- cluster :- interact with just a single endpoint, instead of separately to tons of databases
- paging :- query for chunks of data beginning from a particular cursor point
Due to it's primitive storages, the Redis API is a suitable entry point to interact with more abstract, for example SQL, databases. With Redislayer you can just speak Redis, and trust that nearly loss-less translations (in storage schema) are made to other databases.
Redislayer allows the user to list the available database locations and types, and to configure how/where data should be stored/retrieved. Having done this, the user just has to query redislayer with standardized commands; redislayer takes care of the processing and returns a standardized resultset to the user.
The standardization provided by redislayer eliminates the need for refactoring when storage changes between equivalent configurations, and reduces migration to a function call.
The examples in the link are tuned to demonstrate almost all use-cases of Redislayer. Jumping between the examples.js and interface.js is all that you need to know in order to use Redislayer.
This link documents all you need to know about the utilities of Redislayer.