| ▲ | mewpmewp2 3 hours ago | ||||||||||||||||
It would have been caught only in stage if there was similar amount of data in the database. If stage has 2x less data it would have never occurred there. Not super clear how easy it would have been to keep stage database exactly as production database in terms of quantity and similarity of data etc. I think it's quite rare for any company to have exact similar scale and size of storage in stage as in prod. | |||||||||||||||||
| ▲ | Aeolun 3 hours ago | parent [-] | ||||||||||||||||
> I think it's quite rare for any company to have exact similar scale and size of storage in stage as in prod. We’re like a millionth the size of cloudflare and we have automated tests for all (sort of) queries to see what would happen with 20x more data. Mostly to catch performance regressions, but it would work to catch these issues too. I guess that doesn’t say anything about how rare it is, because this is also the first company at which I get the time to go to such lengths. | |||||||||||||||||
| |||||||||||||||||