Changing notification mechanism to PostgreSQL

Up until the release of PrivX 20, PrivX used Redis for inter microservice notifications. With the release of PrivX 20, a support for using PostgreSQL NOTIFY for notifications was introduced.

To switch PrivX to use Postgres for notifications, modify /opt/privx/etc/shared-config.toml and change

type = "redis"

to

type = "db"

under [notificationCache].

After this, restart PrivX with systemctl restart privx.

Perform the change on all of the nodes running PrivX.

After the change, it is safe to decommission the Redis PrivX is using.


Did this page help you?