If you want failover to work well, use it often (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
In my experience, the issue with this is simulating production in a meaningful way. Let’s say you have 10k mobile users, how can traffic approximate that well enough with network conditions, p99 user behavior.
It’s as good as possible but like parent points out, not necessarily worth it.
Replies (1)
If you have a single server servicing 10k users, and it's not financially practical to generate 10k users worth of traffic, you first find a way to split it, say, 2 processes serving 5k users each. This halves your risk of a single process's failover not succeeding. It also allows you to test failover on a non-customer process that serves many fewer users (5k vs. 10k) and thus requires both less compute to serve and less compute to stress-test - so it's cheaper.
You do need to appreciate that getting engineering rigor to work for you does typically require making changes to your systems - like thinking more intentionally about horizontal shard size.