Experiments
Explore how to implement asynchronous communication in microservices by examining Atom feed polling, Docker container scaling, and log analysis. Learn to create and integrate new microservices, package them with Docker, and configure load balancers. Try optional enhancements like paging and platform porting.
We'll cover the following...
We'll cover the following...
Examine logs #
Try the following experiments in the coding environment given below!
- Start the system and examine the logs of
microservice-order-invoicing and microservice-order-shipping
with
docker logs -f msatom_invoicing_1respectivelydocker logs -f msatom_shipping_1. - The microservices log messages when they poll data from the Atom feed, because there are new orders.
- If you start additional instances of a microservice with
docker compose up --scale, these new instances will collect orders via the Atom feed and log information about