Data Storage
View as MarkdownThese patterns keep business data in Flows. Choose by how the data is read and how it grows.
Choose a pattern
| When you need to | Use |
|---|---|
| Keep one business entity, such as a customer account, with durable state that callers change through RPCs | Entity Flow |
| Query the latest state of many entities, such as users or orders, with SQL | Entity Flow with Attribute Sync |
| Append ordered history and read it page by page | Sequentially Chunked AttributeMap |
| Look up or update a record by a stable key | Hash-Partitioned AttributeMap |