DEV Community


Posted on

Whats the Difference: Monolithic vs Micro-services

Lets start with what Monolithic is:

The monolithic web module is a way of grouping all the services into one platform. As explained it:
"In a typical client-server architecture, a monolithic product lives on the server, where it handles HTTP requests, executes logic, and interacts with the database. It contains a single executable that performs all of the server-side functions for an application" (Mike Chan,

What this means is that a monolithic client-server based architecture is one big block. In monolithic, everything is managed and served from the exact same place. The size and simplicity of monolithic architecture is both its best and its worst features.

So then what are Micro-services?

Micro-services in the whole is completely opposite. They are smaller, modulars of code that is deployed independently from the rest of the code. This allows each service to be used for one specific tasks. A great example of a service that uses this architecture is Netflix. At first, Netflix was a monolithic style of a service. But as they expended to streaming platforms, they use Micro-Services to independently get content from multiple places (

I found this photo on the web that helps explain the difference a bit more:

I also made a quick demonstration of how using docker in hand with micro-services to deploy a simple to-do app:


Top comments (0)