Skip to content

A redis-inspired query framework for interacting transparently with your heterogeneous data layer

License

Notifications You must be signed in to change notification settings

scorpevans/redislayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Redislayer makes development on your data layer easy, fast and fun!

Motivation - ORM, query engine ... transparency atop heterogeneity

  1. storage :- use a standard configuration to define how and where to store/retrieve data objects on heterogeneous databases
  2. query :- use a standard directive to talk to heterogenous databases, and receive a standard result
  3. cluster :- interact with just a single endpoint, instead of separately to tons of databases
  4. paging :- query for chunks of data beginning from a particular cursor point

Framework

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.

About

A redis-inspired query framework for interacting transparently with your heterogeneous data layer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published