All project notes

Engineering

Choosing data stores by workload

Use different storage systems when the data and access patterns call for them.

The shared persistence layer includes Aurora PostgreSQL for management data, DynamoDB for business data, Redis as an in-memory store, and S3 for object storage.
Illustrative diagram

The SalesCandy v3 reference diagram puts Aurora PostgreSQL, DynamoDB, Redis, and S3 in a shared persistence layer. It labels PostgreSQL as the management database and DynamoDB as the business database, alongside Redis and object storage.

A relational database, a key-value or document database, an in-memory store, and object storage offer different access patterns. Using several can fit different workloads, while increasing the number of systems to monitor and reason about. The reference diagram shows the split at a system level. It leaves individual data paths unspecified.

Source: SalesCandy v3 reference architecture, October 2020 PDF export.