Hands-On Microservices with Django: Build cloud-native and reactive applications with Python using Django 5
by 作者: Tieme Woldman (Author)
Publisher Finelybook 出版社: Packt Publishing
Publication Date 出版日期: 2024-05-03
Language 语言: English
Pages 页数: 278 pages
ISBN-10 书号: 1835468527
ISBN-13 书号: 9781835468524
Book Description
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
About the Author
Tieme Woldman works as a freelance Python developer and technical writer. As a Python developer, he builds web and data engineering applications with Django and Python data transformation packages such as pandas. As a technical writer, he has written software and user documentation for software companies such as Instruqt, Noldus Information Technology, and Rulecube. Tieme lives in the Netherlands, has a bachelor’s degree in computer science, and holds several (technical) writing certifications.