Unlock the potential of microservices architecture and master the art of building scalable and resilient web applications using Django
Key Features
- Deliver, optimize, and secure high-performing microservices in Django
- Apply community-standard components for microservices like DRF (RESTful APIs), Celery, RabbitMQ, Redis, and Django’s Cache Framework
- Transform existing monolithic applications into microservices
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
Are you a Django developer looking to leverage microservices to create optimized and scalable web applications? If yes, then this book is for you. With microservices, you can split an application into self-contained services, each with a specific scope running asynchronously while collectively executing processes. Written by an experienced Python developer, Hands-On Microservices with Django teaches you how to develop and deploy microservices using Django and accompanying components such as Celery and Redis. You’ll start by learning the principles of microservices and message/task queues and how to design them effectively. Next, you’ll focus on building your first microservices with Django RESTful APIs (DFR) and RabbitMQ, mastering the fundamentals along the way. As you progress, you’ll get to grips with dockerizing your microservices. Later, you’ll discover how to optimize and secure them for production environments.
By the end of this book, you’ll have the skills you need to design and develop production-ready Django microservices applications with DFR, Celery/RabbitMQ, Redis, and Django’s cache framework.
What you will learn
- Understand the architecture of microservices and how Django implements it
- Build microservices that leverage community-standard components such as Celery, RabbitMQ, and Redis
- Test microservices and deploy them with Docker
- Enhance the security of your microservices for production readiness
- Boost microservice performance through caching
- Implement best practices to design and deploy high-performing microservices
Who this book is for
This microservices and Django book is for Django developers who want to take the next step in back-end application development by adopting cloud-native microservices. Backend developers with working knowledge of Flask or other Python programming web frameworks will also benefit from this book. Basic knowledge of developing web APIs will help you get started with quickly building microservices on your own.
Table of Contents
- What Is a Microservice?
- Introducing the Django Microservices Architecture
- Setting Up the Development and Runtime Environment
- Cloud-Native Data Processing with MongoDB
- Creating RESTful APIs for Microservices
- Orchestrating Microservices with Celery and RabbitMQ
- Testing Microservices
- Deploying Microservices with Docker
- Securing Microservices
- Improving Microservices Performance with Caching
- Best Practices for Microservices
- Transforming a Monolithic Web Application into a Microservices Version