Skip to main content

Choosing a Backend

Stem separates delivery from stored state:

SituationBrokerStore
Tests and demosIn-memoryIn-memory
Shared queueRedisRedis or Postgres
SQL visibilityPostgresPostgres
Embedded serviceSQLiteSQLite

In-memory state is process-local and not restart-durable. A persistent store does not make effects exactly once; handlers still need idempotency. See Persistence and Broker Overview. Check the package version your application resolves before copying adapter setup: source checkouts and pub releases may expose different APIs.