5 ms·
why would they have test data in production?
by myohan 11y ago
why would they have test data in production?
- jonhohle 11y agoWhy would they not be testing production?
- myohan 11y agoI guess it makes sense for their case, since who cares an image was uploaded by integration test or it was "real user" generated.
- agumonkey 11y agoSeems like the placeholder isn't supposed to be accessed through imgur interface. Only if you type random letters you'll see it.
- lmm 11y agoWhen you get big enough monitoring and integration testing start to look pretty similar. The most reliable kind of monitoring is the kind that actually uses your system, end-to-end.
- athenot 11y agoOn that topic, never name your child "TEST" if you ever plan to take them to the doctor or hospital...
- lukeschlather 11y agoThe 3.2 million number is highly suggestive: 3263847/(365*6*24) = 62 It sounds like they've been running an integration test which uploads an image once per minute for pretty much their entire existence (they're a little over 6 years old.) This is sensible. It's the only way to get instant feedback when the site stops working for any reason.
- tgb 11y agoThe sampling was done only for the old-style 5 character URLs. They've since moved to 7 character URLs. Depending on how that 3.2 million number was reached, you maybe should be calculating rate using just the time they were at 5 character URLs. I don't know when the switch occurred though.
- eli 11y agoso that you can test production