Archive

The Dulin Report

Browsable archive from the WordPress export.

Results (30)

On Amazon Prime Video’s move to a monolith May 14, 2023 Stop Shakespearizing Sep 16, 2022 Should we abolish Section 230 ? Feb 1, 2021 Returning security back to the user Feb 2, 2019 Facebook vastly improved their advertiser vetting process Jan 21, 2019 A conservative version of Facebook? Aug 30, 2018 On Facebook and Twitter censorship Aug 20, 2018 I downloaded my Facebook data. Nothing there surprised me. Apr 14, 2018 Facebook is the new Microsoft Apr 14, 2018 Quick guide to Internet privacy for families Apr 7, 2018 Leaving Facebook and Twitter: here are the alternatives Mar 25, 2018 When politics and technology intersect Mar 24, 2018 Architecting API ecosystems: my interview with Anthony Brovchenko of R. Culturi Jun 5, 2017 Copyright in the 21st century or how "IT Gurus of Atlanta" plagiarized my and other's articles Mar 21, 2017 Windows 10: a confession from an iOS traitor Jan 4, 2017 Don't trust your cloud service until you've read the terms Sep 27, 2016 Amazon Alexa is eating the retailers alive Jun 22, 2016 Why it makes perfect sense for Dropbox to leave AWS May 7, 2016 OAuth 2.0: the protocol at the center of the universe Jan 1, 2016 We Live in a Mobile Device Notification Hell Aug 22, 2015 What Every College Computer Science Freshman Should Know Aug 14, 2015 On Maintaining Personal Brand as a Software Engineer Aug 2, 2015 Social Media Detox Jul 11, 2015 Attracting STEM Graduates to Traditional Enterprise IT Jul 4, 2015 The Clarkson School Class of 2015 Commencement speech May 5, 2015 Why I am not Getting an Apple Watch For Now: Or Ever Apr 26, 2015 Exploration of the Software Engineering as a Profession Apr 8, 2015 What can Evernote Teach Us About Enterprise App Architecture Apr 2, 2015 Microsoft and Apple Have Everything to Lose if Chromebooks Succeed Mar 31, 2015 On Managing Stress, Multitasking and Other New Year's Resolutions Jan 1, 2015

On Amazon Prime Video’s move to a monolith

May 14, 2023

Last week an article about how Amazon Prime lowered their monthly AWS costs by 90% by shifting part of their system called VQA (Video Quality Analysis) away from a server-less micro-service architecture to a monolith server.



I want to warn my readers about reading too much into it regarding cloud costs. Please don’t take this article as proof that servers are cheaper and serverless is not. This conversation is not about cloud vs. on-premise; the broader message is that micro-service architectures are costly and overcomplicated.



There is nothing fundamentally wrong with a monolith, and a well-architected monolith with well-structured code with separation of concerns serves its purpose quite well. If Amazon Prime’s experience proves anything, it is that when the granularity of services is too fine, complexity and costs skyrocket.



As an architect, I need to worry about many things: the application needs to work, it needs to scale, and developers need to be productive. When left to their own devices, developers gravitate towards monoliths for a straightforward reason: they can run the entire application stack in their development environment and, most importantly, step through it in a debugger end-to-end. A monolithic repository (aka monorepo) can answer all architectural concerns, starting with developer productivity and to deployment and scalability.



Most importantly, just because someone from Amazon (or Apple, or Facebook, or Google, or Microsoft) said they do things a certain way, it does not mean you should drop everything and do things the same way. My number one rule of software architecture is “Don’t shakespearize!”.



I’ve written on this subject over the years. Here are my other ruminations on micro-service architectures: