Building Resilient Python Apps for Unreliable Networks
summary
Built an offline-first Python system for Nigerian revenue collection that runs a local Python server per laptop, uses SQLite as local source of truth, pushes events to Kafka, and runs background retries with Celery for sync to central FastAPI/Redis stacks; serves 20+ local governments, 50+ agents, 100+ users. Uses CRDTs for convergence, shows exponential backoff and never delete unsynced data as rules. It works in production but accumulates tombstones, suffers long sync windows, and sometimes needs manual or physical-sync intervention.
AI-written summary · about
