4 ms·
> It can handle more than 500,000 orders per month Hilarious because other languages are capable of that per minute not per month
by marcus_holmes 3y ago
> It can handle more than 500,000 orders per month
Hilarious because other languages are capable of that per minute not per month
- cntrl 3y ago500,000 orders per minute on a $6/month server? Which language is able to achieve that?
- zer0tonin 3y agoGo
- cutler 3y agoIf you're going to pull numbers out of a hat at least provide some evidence, especially evidence based on a comparable workload.
- zer0tonin 3y agoI actually wrote a whole article about this myself: https://alicegg.tech/2023/02/06/4dollar-vps.html https://alicegg.tech/2023/02/06/4dollar-vps.html TL;DR: go can handle 1000+ RPS on a ridiculously small server
- tredre3 3y agoBut creating an order isn't just a request. PHP will also handle 1000 RPS of hello world just fine on a 4 dollars VPS. Maybe (probably) Go is still faster than PHP, but the hyperbole is being pushed a bit too far here.
- 00deadbeef 3y agoAnd what about the database?
- MarvinYork 3y agoI think the point was the $6/month server here.
- alexriddle 3y agoWhat stack can handle 500,000 orders per minute - 22.3 billion a month - on a $6/month server?
- callahad 3y agoMost of them? 500k per minute is around 8k reqs/sec. $6 will get you 2 vCPU, so each CPU only needs to handle 4k requests per second. I'd at least expect that to be possible in Node, and would be somewhat surprised if a Go or Rust framework didn't hit that mark.
- cutler 3y agoMaybe with "Hello world" in Node but not orders. Business-grade Rust web framework? Give me a break.
- jeroenhd 3y agoI think 4k requests per second is quite ambitious even for native languages or garbage collected languages like Go. Hello world will work, but once parsing, validation, and database queries get involved, you'll need some beefier hardware to get those numbers. I can't get the cloud benchmarks for 2022 to work (a dedicated PowerEdge is the standard physical benchmark and that's not very realistic here), but according to these benchmarks: https://www.techempower.com/benchmarks/#section=data-r20&hw=cl&test=update https://www.techempower.com/benchmarks/#section=data-r20&hw=... you're going to need some very optimized code to get close to 8k reqs/s.
- marcus_holmes 3y agoOK, 10 minutes then ;) My point was that the article quotes orders per month, while other systems are quoting requests per second. I found it funny that they tried to mask the low speed by using big numbers.
- hakube 3y agoon a $6/month server. Are we also losing the ability to read now because of AI?