We’ve migrated our documentation to a new site, which means some URLs have changed.
Subscriptions

DynamoDB Storage (Composer)

DynamoDB Storage extends Piano Composer's data storage capabilities by leveraging Amazon DynamoDB, a highly scalable NoSQL database service designed for single-digit millisecond performance at any scale.

Web browsers enforce a strict 4 KB size limit per cookie. When a cookie exceeds this limit, the browser may block it from being saved, which can lead to tracking issues and inconsistent user experiences.

In Composer, the xbc cookie size can grow due to:

  • Multiple pageview meters - Each unique pageview meter adds data to the cookie

  • Multiple experiences - Running numerous experiences simultaneously increases cookie payload

When cookie size approaches or exceeds browser limits, you may experience:

  • Lost or incomplete tracking data

  • Inconsistent experience delivery

  • Meter counting issues

DynamoDB Storage addresses this limitation by storing cookie values in an external database rather than in the browser. This allows Composer to:

  • Bypass browser cookie size restrictions

  • Support a larger number of pageview meters

  • Run multiple experiences without storage constraints

How It Works

When enabled, DynamoDB Storage automatically:

  1. Detects when cookie data is approaching browser limits

  2. Offloads the excess data to Amazon DynamoDB

  3. Keeps a lightweight reference in the browser cookie

  4. Retrieves the stored data seamlessly when needed

All of this happens transparently, without requiring changes to your implementation or impacting the end-user experience.

Availability

The DynamoDB Storage is available as a premium add-on feature.

For pricing information and to enable this feature, please contact your Piano account representative.

Last updated: