Hacker News new | ask | show | jobs
by myohan 4004 days ago
why would they have test data in production?
5 comments

The 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.

The 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.
When 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.
On that topic, never name your child "TEST" if you ever plan to take them to the doctor or hospital...
Why would they not be testing production?
I guess it makes sense for their case, since who cares an image was uploaded by integration test or it was "real user" generated.
so that you can test production
Seems like the placeholder isn't supposed to be accessed through imgur interface. Only if you type random letters you'll see it.