Node.js Microservices Architecture using Docker for developers
A microservice is a single self-contained unit which, together with many others, makes up a large application. By splitting your app into small units every part of it is independently deployable and scalable, can be written by different teams and in different programming languages and can be tested individually.
A microservice architecture means that your app is made up of lots of smaller, independent applications capable of running in their own memory space and scaling independently from each other across potentially many separate machines
Microservices Architecture means how we can architect our application so that they can run in different containers, services or systems. Docker here is just giving us the advantage of creating a separate container or machine in a few seconds. Here we will use Docker containers to manage different application and will manage them using docker-compose.
In this session, we will talk about all different use cases where we can think of splitting services and make them independent of one another so that there is no impact of one another or they can run independently as microservices.
This session will be based on node js services which can run on different containers and communicating with different data sources and those node js services will be deployed on Docker containers running on PM2 instances.
We will build microservices like architecture where multiple services will be running on Node JS containers and serving content to our front end web application.
Who is this for:
Basic knowledge in NodeJS
Basic knowledge in Docker (and Docker installed)
What’s in it for you
Configure and run microservices locally with Docker and Docker Compose
Splitting services as Microservices and allowing network communication between them
Managing the Docker network to bind all services together.
Utilize volumes to mount your code into a container
Run unit and integration tests inside a Docker container
Test the entire set of services with functional, end-to-end tests
Debug a running Docker container
Enable services running in different containers to talk to one other like mongo & MySQL with Node app container
Work with Web application running inside a Docker Container.
developer machine with Node js & Docker
- Tarun Sharma, #MEAN & #JS developer, shares his thoughts about ES6 & #babel - Follow him on Twitter - @tkssharma for more updates #FEConfIN pic.twitter.com/5iKsEQBFJc
- — TO THE NEW (@TOTHENEW) February 18, 2017
- My flash talk on Graphql @ReactJS_News @reactjs @js_channel pic.twitter.com/pubJpYwVvT
- — Tarun Sharma (@tkssharma) July 15, 2016
- My Talk on React Redux , Managing state using Redux for React apps @Srijan @reactjsdelhi pic.twitter.com/dAsMvY8W88
- — Tarun Sharma (@tkssharma) August 8, 2016
ReactJS & #Redux make one sweet pair! Join us at https://t.co/peCxkWkvXT & explore how they impact future #webapps. pic.twitter.com/20hhTK3Nu6
- — Srijan Technologies (@Srijan) August 16, 2016
- Join @tkssharma at https://t.co/bdjeLjKZc0 to learn all about #Redux & using it to write #productionapps. @reactjs pic.twitter.com/vG0HCVA36Y
- — Srijan Technologies (@Srijan) August 18, 2016
- Submitted talk on React Redux— JSFoo 2016 —HasGeek https://t.co/H38zefgyna , put your vote for me :)
- — Tarun Sharma (@tkssharma) August 7, 2016
- — Srijan Technologies (@Srijan) March 10, 2018