Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

How to Add Interval Sets to Redis

DZone's Guide to

How to Add Interval Sets to Redis

· Database Zone ·
Free Resource

Databases are better when they can run themselves. CockroachDB is a SQL database that automates scaling and recovery. Check it out here.

The RedisToGo blog has a comprehensive tutorial for adding interval sets in a Redis deployment.  Redis gets a lot of benefits from not having the bloat of a plugin system, but it means that processes like the one in this tutorial are required in some cases.

What Redis lacks is an easy way to add new data structures to the core. Salvatore has explained why he is  against  a plugin system, and it seems as if such a system will not make its way to Redis. This means we’ll have to add a new data structure directly to the Redis core.

-- Kenny Hoxworth, Adding Interval Sets to Redis


Databases should be easy to deploy, easy to use, and easy to scale. If you agree, you should check out CockroachDB, a scalable SQL database built for businesses of every size. Check it out here. 

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}