DEV Community

Cover image for All about Monoliths and Microservices
ljp5342
ljp5342

Posted on

All about Monoliths and Microservices

Lets talk a little bit about server architecture. And the difference between Monoliths and Microservices.

alt text

What's a Monolith

A Monolith (Mono meaning one) Is a server architecture method where both the frontend and backend of a web app are combined and contained in one deployment. While this method is tried and true it is slowly being proceeded by newer methods such as Microservices

Its pros are that its easy to make edits to the entire structure.,

Its cons are that due to its combined nature one change can be quite tedious to update.

How about a Microservice , what's that ?

A Microservice is small and fragmented with each service independently separated out into smaller pieces of standalone files.

Some of the pros of microservices are that it allows for very specific and specialized websites to be created.

When it comes to cons though, They are fairly new and can be somewhat difficult to implement depending on the web service developers are trying to deploy.

Check out my video below showing drupal being set up through docker:
https://youtu.be/Vn0G0EZ4Wg8

Shout out to this github page for the instructions I went over in my video:
https://github.com/heyMP/ist402-docker/tree/master/labs/7-news-api-microservice

Top comments (0)