case_01 · IoT resource metering platform
Stabilising and scaling a backend for LPWAN devices
- 78% → 97%uptime
- 750kdevices within a year
Before
- A monolith serving 150–200k devices on a troubled MongoDB cluster
- Outages of 1–2 hours every week
- Growth to 1 million devices expected within the calendar year
What was done
- System audit and bottleneck analysis
- Small-batch releases instead of big rollouts
- Monolith split into functional parts, bottlenecks scaled out
- Only the nodes that need it get updated
- Buffering of incoming messages: outages no longer affect data intake
- Move to ClickHouse: pre-aggregating what clients actually need, cooling down the rest
- Dedicated support team and runbooks; development split into 2nd line and core
Result
- Grew to 750k devices in a year without losing stability
- Outages stopped being routine
- Incident response procedures in place
- Recovery after failure with no data loss
- Groundwork for 99.9% uptime within a year