News for hackers. Stuff that matters.
Re:McDonalds Event Driven Architecture by toomuchtodo on Tuesday December 06, 2022 @07:31PM (#33889137)
To your point, Shopify's monolith was handling 1.27M requests/sec on Black Friday: https://twitter.com/ShopifyEng/status/1597983918900510720

Thread: https://threadreaderapp.com/thread/1597983918900510720.html

Re:McDonalds Event Driven Architecture by aeyes on Tuesday December 06, 2022 @10:00PM (#33890158)
Is running a separate instance of the monolith with a separate database for every store really "a monolith" withstanding 1.27M rps?

It's a bit like saying Magento served 1M rps on Black Friday leaving out the small but important detail that each individual store has separate infrastructure and manageable load.

Divide and conquer works, congrats to the Shopify team that their design decisions worked out for their use case. And obviously some parts of the system are still shared but my guess is that they are not part of the monolith.

Re:McDonalds Event Driven Architecture by tiffanyh on Tuesday December 06, 2022 @08:23PM (#33889575)
> averaging 3 Terabytes per minute of egress traffic across our infrastructure. That’s 4.3 Petabytes per day!

I’d hate to get that AWS bandwidth bill.

Re:McDonalds Event Driven Architecture by ip26 on Wednesday December 07, 2022 @01:21AM (#33891254)
On the other hand, 4.3 Petabytes of VISA/MasterCard traffic is a bill you'd probably be happy to pay. (It's Shopify after all, not Flickr)
Re:McDonalds Event Driven Architecture by spoils19 on Tuesday December 06, 2022 @10:11PM (#33890210)
Exactly. I've written and maintained monoliths that handle close to ~20M requests per second, and it only went down once (when somebody tripped over the power cable!)
Re:McDonalds Event Driven Architecture by gscho on Tuesday December 06, 2022 @07:34PM (#33889166)
But ruby is too slow!
Re:McDonalds Event Driven Architecture by pxue on Tuesday December 06, 2022 @07:51PM (#33889302)
Lots of their code is in Go
Re:McDonalds Event Driven Architecture by ecshafer on Tuesday December 06, 2022 @08:23PM (#33889576)
Way way way more of our code in Ruby.

Go (and now Rust) is really only used for very low level services with a high SLA (Like Infrastructure). Almost all business logic is Ruby + Rails.

Re:McDonalds Event Driven Architecture by vips7L on Wednesday December 07, 2022 @06:16AM (#33893082)
True but you’re still putting significant investment into ruby to speed it up. Ruby is slow.

I don’t think any other company could do that.