1 minute

22. StateStore

Date: 2025-01-03

Status

Accepted

Context

We want to implement a StateStore component to process Markdown file. In distributed systems, particularly in event-driven architectures, a StateStore is a database or storage solution used to manage the current state of an application. It’s crucial for systems that require consistency, such as event sourcing or CQRS.

Decision

As we rely on Dapr, we will use StateStore component with Azure CosmosDB to implement file state storage between services as describe in Dapr documentation.

Consequences

--- config: look: handDrawn theme: neutral --- flowchart LR PR[Python Service] --Store--> SS[Dapr StateStore] PU[Go Service] --Retrieve--> SS[Dapr StateStore]