Home Applications rediris

rediris

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
3.5
1 reviews
0
Awards
101
Views
0
IPM installs
0
0
Details
Releases
Reviews
Issues
Pull requests
InterSystems IRIS based Redis server implementation

What's new in this version

Added logo

rediris

InterSystems IRIS based Redis server implementation (incomplete). Uses InterSystems IRIS as a persistance engine. Based on this project.

Getting Started

It is possible to use Redis server as standalone redis installation,
however the main goal of the project is to have an in-mem lightweight Redis server using InterSystems IRIS as a persistent storage. This can be used to migrate data from Redis DBs into InterSystems IRIS.

Compatibility

Currently redis server supports the following methods:

  • Keys
    • GET, SET, DEL

These commands might also work:

  • Keys
  • INCRBY, DECRBY, SCAN
  • Sets
    • SADD, SPOP, SCARD
  • Scripts
    • SCRIPT LOAD, EVALSHA
  • Transactions:
    • MULTI, WATCH, EXEC

Running locally

  1. Install irisnative.
  2. Adjust irisdict.py to connect to your desired instance.
  3. Install this package with: python setup.py install
  4. Start rediris with:
from rediris import run_tcp
run_tcp()

Running in docker

Currently not available. TBD.

Testing

Using any redis client:

import redis
r = redis.Redis(host='container_hostname', port=6379, db=0)
r.get('foo')
r.set('foo', 'bar')
r.get('foo')
r.delete('foo')

Check management portal to see these changes reflected there. Changes to globals from SMP/terminal/etc. would also be picked up by a redis client connection.

Read more
Made with
Version
1.0.104 Apr, 2022
Category
Technology Example
Works with
InterSystems IRIS
First published
03 Apr, 2022
Last checked by moderator
27 Jun, 2023Works