Share redis with other applications

Hi brocaar,

Is it possible for other applications to connect to redis in loraserver?
I’d like to use just one redis server for multiple applications.


Yes, as long there is no conflict in the key naming. In general LoRa App Server and LoRa Server can run fine together on a single Redis instance. Just make sure that your applications do not overlap. LoRa Server uses the ns: prefix and LoRa App Server the as:.

1 Like

Does chirpstack use redis pub/sub? If so, do these prefixes also apply? Pub sub is always global, not per db number.

ChirpStack uses Redis Streams. You can find an example how you can consume this data:

1 Like