Aura Bridge cache

Description of Aura Bridge cache

Description

The aura-bridge currently makes use of two caches:

  • ackCache: Cache that uses RedisConnector and stores information associated with ack status messages of aura-bridge.
  • commandCache: Cache using RedisConnector that allows to store the Behavior Manager information.

Configuration

ackCache

ackCache is configured with the following environment variables:

Property Type Description
BRIDGE_CACHE_MESSAGES_ACK_TTL number Time to live of the objects stored in the bridge ack cache messages in seconds. By default: 24 * 60 * 60.
BRIDGE_CACHE_MESSAGES_ACK_ACTIVE boolean Allows to enable/disable the ack messages cache. By default: false.

commandCache

commandCache is configured with the following environment variables:

Property Type Description
DEV_AURA_BEHAVIOR_CACHE_TTL number Maximum lifetime of behavior cache in aura-bridge in seconds. After this time, the system will delete the message. By default: 60 * 60 (60 min).