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

Woldman, Tieme

相關主題

商品描述

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

商品描述(中文翻譯)

解鎖微服務架構的潛力,並掌握使用Django建立可擴展和具彈性的網絡應用程式的技巧

主要特點:
- 在Django中交付、優化和保護高性能的微服務
- 應用於微服務的社區標準組件,如DRF(RESTful API)、Celery、RabbitMQ、Redis和Django的緩存框架
- 將現有的巨集應用程式轉換為微服務
- 購買印刷版或Kindle電子書,可獲得免費的PDF電子書

書籍描述:
您是一位Django開發人員,希望利用微服務創建優化和可擴展的網絡應用程式嗎?如果是的話,那麼這本書適合您。通過微服務,您可以將應用程式拆分為自包含的服務,每個服務具有特定的範圍,可以異步運行並共同執行流程。《Hands-On Microservices with Django》由一位經驗豐富的Python開發人員撰寫,教您如何使用Django和相應的組件(如Celery和Redis)開發和部署微服務。您將首先學習微服務和消息/任務隊列的原則,以及如何有效地設計它們。接下來,您將專注於使用Django RESTful API(DFR)和RabbitMQ構建您的第一個微服務,並在此過程中掌握基本原理。隨著學習的進展,您將了解如何將微服務容器化。之後,您將發現如何優化和保護生產環境中的微服務。

通過閱讀本書,您將具備設計和開發生產就緒的Django微服務應用程式所需的技能,包括DFR、Celery/RabbitMQ、Redis和Django的緩存框架。

您將學到:
- 瞭解微服務的架構以及Django如何實現它
- 構建利用Celery、RabbitMQ和Redis等社區標準組件的微服務
- 測試微服務並使用Docker部署它們
- 提高微服務的安全性,以達到生產就緒的狀態
- 通過緩存提升微服務的性能
- 實施最佳實踐,設計和部署高性能的微服務

本書適合對Django開發人員,希望通過採用雲原生微服務來進一步發展後端應用程式的人。具備Flask或其他Python編程Web框架的後端開發人員也會從本書中受益。對於具備開發Web API的基礎知識的讀者,您可以快速開始自己構建微服務。

目錄:
1. 什麼是微服務?
2. 介紹Django微服務架構
3. 設置開發和運行環境
4. 使用MongoDB進行雲原生數據處理
5. 為微服務創建RESTful API
6. 使用Celery和RabbitMQ協調微服務
7. 測試微服務
8. 使用Docker部署微服務
9. 保護微服務
10. 通過緩存提高微服務性能
11. 微服務的最佳實踐
12. 將巨集Web應用程式轉換為微服務版本

最後瀏覽商品 (20)