AlgoViz

Microservices or monolith

easy 28 min

A monolith is one program, built and released as a whole.

Where it shows up

The same pattern appears across everyday software.

  • GitHub

    Its engineering blog wrote in 2023 that GitHub.com has been a Ruby on Rails monolith since the beginning: nearly two million lines, more than 1,000 engineers, and as many as 20 deployments a day.

  • Shopify

    In 2019 the company described choosing a modular monolith over microservices: all code in one codebase, with boundaries between components that are defined and respected.

  • Stack Overflow, 2016

    Nick Craver's post describes one multi-tenant application that served all question-and-answer sites, on 9 primary web servers, with about 209 million HTTP requests on a day in February 2016.

  • Basecamp

    The Majestic Monolith, published on 29 February 2016, argues that about 12 programmers could serve web, mobile, desktop and email only by choosing one integrated system.

  • Netflix

    Announced in February 2016 that its move to the cloud, begun after a database corruption in August 2008, took seven years and went from a monolithic app to hundreds of microservices.

  • Segment

    Wrote in 2018 how it joined more than 140 services back into one, because three engineers spent most of their time keeping them alive. It also lists what was lost, such as failure isolation.

  • Amazon S3

    Werner Vogels wrote in 2023 that S3 grew from a few microservices at its launch in 2006 to more than 300, and that there is no one-size-fits-all.