Redis Backpack#
This page outlines how sasquatch backpack uses redis.
State Storage#
Sasquatch-backpack uses Redis as a mechanism for storing state. In the current implementation, Redis is used to store item IDs as keys.
In the Datasource configuration, use uses_redis = True
to store the IDs of the items sent to Sasquatch, as shown here.
This way Sasquatch-backpack will remove items with duplicate IDs from subsequent publish events.
Items are only added to redis storage if a publish method has succeeded at sending them to sasquatch. On failure, redis is skipped in order to accurately match the remote status as closely as possible.