Operations¶
Choose a manager before sizing or launching workers. Both managers need supported MongoDB change streams, long-lived application resources and direct reads where freshness is required.
- Process-local deployment: one client and manager per process, independent cache budgets, security, recovery and memory sizing.
- Shared worker deployment: one parent-owned cache server, trusted worker attachments, fixed collection names and shared capacity.
- Monitoring: the diagnostics available for each manager and how to investigate misses and bypasses.
- Permission recovery exercise: observe process-local fallback and recovery on a disposable authenticated replica set.
- Rollback to plain PyMongo: disable caching without a stored-data migration.
For executable web lifecycles, use FastAPI with shared caching or the compact process-local application.