MongoDB
MongoDB for state storage and document persistence.Installation
Docker Setup
Quick Start
Connection String Format
Tuning the connection
For the syncmongodb state store, any pymongo URI query option overrides the SDK’s default. Common examples:
?retryWrites=false— standalone MongoDB (no replica set)?maxPoolSize=10— smaller client-side connection pool?serverSelectionTimeoutMS=3000— fail faster when MongoDB is unreachable
Environment Variables
CLI
See also
- MongoDB State Store — hash / TTL / keys examples and the async (
motor) backend

