What this book covers
Chapter 1, What Is a Microservice?, provides an overview of the microservices architecture, its components, and its benefits. It also covers an approach to designing microservices.
Chapter 2, Introducing the Django Microservices Architecture, provides insight into the Django microservices architecture and walks through creating an example microservice to see what it takes to build microservices.
Chapter 3, Setting Up the Development and Runtime Environment, provides an overview of the software, systems, and packages needed to build and run microservices. It also covers the steps to install and configure the required parts.
Chapter 4, Cloud-Native Data Processing with MongoDB, lays a data foundation for a microservices application with the cloud version of the popular NoSQL database, MongoDB. This includes mapping CRUD operations to HTTP methods.
Chapter 5, Creating RESTful APIs for Microservices, extends the data layer for Django microservices by explaining how to create a RESTful API for serving microservice data operations toward MongoDB.
Chapter 6, Orchestrating Microservices with Celery and RabbitMQ, provides the basics of the task queue managers, Celery and RabbitMQ. It also explains how to build microservices and monitor tasks.
Chapter 7, Testing Microservices, provides complementary approaches for testing individual microservices and the entire microservice application. It also shows how to test a microservices application with Selenium automatically.
Chapter 8, Deploying Microservices with Docker, provides an overview of containerizing microservices with Docker and its benefits. It also demonstrates how to containerize microservices and set up a deployment cycle.
Chapter 9, Securing Microservices, shows how to secure microservices both from calling clients and microservices calling each other.
Chapter 10, Improving Microservices Performance with Caching, explains and demonstrates caching to maintain and improve microservices’ performance when user demand increases. Both Django’s built-in caching framework and Redis will be covered, including fully working samples.
Chapter 11, Best Practices for Microservices, provides hands-on tips and advice for optimally maintaining and running microservices. It addresses topics such as error handling, logging, and documenting.
Chapter 12, Transforming a Monolithic Web Application into a Microservices Version, walks through transforming an existing monolithic web application into a microservices version, as many Django developers will face this scenario.