Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Even if you run a relatively opaque cost structure business like a restaurant, you can still calculate the maximum cost of ingredients for one month, the salaries, energy, etc.

If the restaurant suddenly ordered ten thousand times more ingredients than usual, their supplier would probably call back and say "is that really what you want?" rather than just shrugging and shipping them tonnes of tomatoes with a bill for one billion dollars.



Very true. And in terms of cloud computing, it would mean that alerts and notifications and limits are worth absolutely nothing if it's on the customer to set them up in the correct way for every scenario imaginable. Which is nearly impossible. The tomato supplier's human alerting system is a catch-all-system which would be easily implementable as well.


Yeah - if you look at Troy's graphs they're already calculating an average bandwidth and the alert he's configured has a threshold ~1/50th his current level.

Trying to set a hard number limit ahead of time is hard (estimating how much you'll use, don't want to set a number too low and get cut off plus cloud cost structures can be really hard to get your head around) but that basic level of anomaly detection should be there by default.


> estimating how much you'll use, don't want to set a number too low and get cut off plus cloud cost structures can be really hard to get your head around

Easy way of avoiding this: Don't use shitty hosts that make you pay per GB served and shut you down once you hit your cost limit. Instead get limited by the available bandwidth you have, and clients will just access your server slower rather than being fully denied access.


Who does that, though? I'm including things like 95th percentile in "pay per GB served", but you're painting a pretty broad brush if you class a host as shitty if they won't give you a switch port and not care whether you're sending 2 packets per fortnight or maxing it out.


I'll bet Sysco would deliver $10k worth of canned tomatoes to your restaurant without checking.


Since the tomatoes would be worth $8k (or whatever), they might do a bit more diligence on ensuring the customer can pay.

MS's bandwidth cost a fraction of what they're charging, so it's easy to risk people not paying up.


At my previous housing co-op, the new kitchen manager accidentally ordered nine cases of limes (~$1000) instead of 9 limes.

They assumed it was a mistake and only delivered a single case, which was still 180 limes, but at least it didn't use up our entire food budget.

(Normally I'd expect a phone call or email to confirm, but this was a smaller, local supplier, so they probably didn't have real systems to deal with outliers.)


In this scenario though you’ve used tonnes of tomatoes and they’re now asking you to pay


Tomatoes that were ordered on terms where they’re paid for well after they’re delivered, with a long-running relationship with the vendor. If you went from ordering a few tomatoes to ordering entire lorries full of them, you bet the vendor’s going to check you’re good to pay for them.

Troy Hunt didn’t sneak into an Azure DC and install some hardware any more than this hypothetical restaurateur filled a truck at the local fruit market.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: