Hands-On Microservices with Django: Build cloud-native and reactive applications with Python using Django 5 Front Cover

Hands-On Microservices with Django: Build cloud-native and reactive applications with Python using Django 5

  • Length: 278 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2024-05-03
  • ISBN-10: 1835468527
  • ISBN-13: 9781835468524
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

  1. What Is a Microservice?
  2. Introducing the Django Microservices Architecture
  3. Setting Up the Development and Runtime Environment
  4. Cloud-Native Data Processing with MongoDB
  5. Creating RESTful APIs for Microservices
  6. Orchestrating Microservices with Celery and RabbitMQ
  7. Testing Microservices
  8. Deploying Microservices with Docker
  9. Securing Microservices
  10. Improving Microservices Performance with Caching
  11. Best Practices for Microservices
  12. Transforming a Monolithic Web Application into a Microservices Version
To access the link, solve the captcha.