Skip to content

mholleville/RedisJSON

Repository files navigation

Build Status

ReJSON - a JSON data type for Redis

ReJSON is a Redis module that implements ECMA-404 The JSON Data Interchange Standard as a native data type. It allows storing, updating and fetching JSON values from Redis keys (documents). The JSON values are managed as binary objects, thus allowing Redis-blazing performance.

Quickstart

  1. Build the ReJSON module library
  2. Load ReJSON to Redis
  3. Use it from any Redis client, e.g.:

ReJSON with redis-cli

Documentation

Read the docs at https://redislabsmodules.github.io/rejson

Limitations and known issues

  • Alpha stage
  • AOF rewrite will probably fail for documents with serialization over 0.5GB
  • Searching for object keys is O(N)
  • Containers are not scaled down after deleting items (i.e. free memory isn't reclaimed)
  • Numbers are stored using 64 bits integers or doubles, out of range values are not accepted

Acknowledgements

ReJSON is developed with <3 at Redis Labs.

ReJSON is made possible only because of the existance of these amazing open source projects:

License

AGPLv3 - see LICENSE

About

RedisJSON - a JSON data type for Redis

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 79.6%
  • Python 16.8%
  • Makefile 1.9%
  • Other 1.7%