Re:Shopify modular monolith scaled to 30 TB per minute durin...
by codegeek on Saturday December 04, 2021 @11:33AM
(#29441905)
Show this to everyone who shits on monolith and only wants to build a scalable serverless microservices whatever.
[ Parent
| on HN ]
Re:Shopify modular monolith scaled to 30 TB per minute durin...
by cardosof on Saturday December 04, 2021 @02:04PM
(#29443393)
Some people just want to build CVs, not products.
Re:Shopify modular monolith scaled to 30 TB per minute durin...
by dmlittle on Saturday December 04, 2021 @02:23PM
(#29443542)
A service oriented architecture is not a bad thing. It has its benefits as well as it’s downsides. The key is to know when to use the pattern and when not to.
I’m not sure what exactly “modular monolith” means but I’m guessing it’s some kind of mono repo with different services that share a large core but can scale independently. At Shopify’s scale I doubt you can just use a single service and database and not run into problems (both technical and development productivity wise).
Re:Shopify modular monolith scaled to 30 TB per minute durin...
by speedgoose on Saturday December 04, 2021 @01:17PM
(#29442888)
The secret is to build scalable monoliths. You probably need a few microservices to achieve that at this scale.
Re:Shopify modular monolith scaled to 30 TB per minute durin...
by 10000truths on Saturday December 04, 2021 @03:57PM
(#29444252)
The secret is keeping performance in mind throughout your whole tech stack and in your application code. Do that, and you might not even need to scale beyond a couple machines for redundancy, depending on your SLOs.
I’ve said this a couple times before, but it bears repeating - nginx can easily serve a million 1 kB static files per second over TLS from just one machine with a modern Xeon/EPYC CPU. Serving dynamic content doesn’t have to perform any worse than one or two orders of magnitude below that.