4 ms·
tl;dr: * Right now, Compiler Explorer costs around $3000 a month (including AWS, monitoring, Sentry for errors, Grafana, and other expenses). * nsjail
by galkk 1y ago
tl;dr:
* 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.
This and lichess (https://news.ycombinator.com/item?id=41922928#41928953 https://news.ycombinator.com/item?id=41922928#41928953) shows that you really can handle very serious loads for quite cheap.
- dieortin 1y ago> $3,00015 That’s a very weird place to put a comma. I have no idea what number this is representing (since I doubt it’s $3 a month)
- maccard 1y agoI’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. But $3k/mo is surprisingly lean!
- mattgodbolt 1y agoI'll do a follow-up post sometime on where the money goes.
- mbac32768 1y agoSame. 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".