* Right now, Compiler Explorer costs around $3000 a month (including AWS, monitoring, Sentry for errors, Grafana, and other expenses).
* nsjail for security/isolation
* 3.9 terabytes of compilers, libraries, and tools
* Up to 30+ EC2 instances (EC2 instances are virtual machines)
* 4,724 compiler versions
* 1,982,662 short links saved (and as of recently, ~14k ex-goo.gl links)
* 1.8 million compilations per week
If my napkin math is correct, it's around 3 compilations/sec.
and their cost is 0.0004 cents per compilation. Fascinating. If anyone asked me about ballpark estimate of compiler explorer cost, I'd be wrong at least at magnitude. Like - they must be heavy cpu/io/network bound, and this is like the worst scenario for cloud use.
I’d love to see a breakdown of their ec2 costs vs everything else. I’d expect that if they really wanted to a single bare metal machine would probably save them a decent chunk of money.
Same. I'm probably too old man shakes fist at cloud but whenever I see "$3000 per month in AWS costs" I think "or pay $6000-9000 one time to buy instead and be good for 3+ years".
This and lichess (https://news.ycombinator.com/item?id=41922928#41928953) shows that you really can handle very serious loads for quite cheap.