Hands-On Microservices with Django: Build cloud-native and reactive applications with Python using Django 5
暫譯: 實作微服務與 Django:使用 Django 5 建構雲端原生及反應式應用程式
Woldman, Tieme
- 出版商: Packt Publishing
- 出版日期: 2024-05-03
- 售價: $1,690
- 貴賓價: 9.5 折 $1,606
- 語言: 英文
- 頁數: 278
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1835468527
- ISBN-13: 9781835468524
-
相關分類:
Django、Microservices 微服務、SOA、Python、程式語言
已絕版
買這商品的人也買了...
-
$2,232API Design for C++ (Paperback)
-
$940$700 -
$580$452 -
$1,760$1,672 -
$2,100$1,995 -
$1,580$1,501 -
$1,970$1,872
相關主題
商品描述
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
商品描述(中文翻譯)
釋放微服務架構的潛力,掌握使用 Django 建立可擴展且具韌性的網頁應用程式的藝術
主要特色
- 在 Django 中交付、優化和保護高效能的微服務
- 應用社群標準的微服務組件,如 DRF(RESTful API)、Celery、RabbitMQ、Redis 和 Django 的快取框架
- 將現有的單體應用程式轉換為微服務
- 購買印刷版或 Kindle 書籍可獲得免費 PDF 電子書
書籍描述
您是希望利用微服務來創建優化且可擴展的網頁應用程式的 Django 開發者嗎?如果是,那麼這本書就是為您而寫的。透過微服務,您可以將應用程式拆分為自包含的服務,每個服務都有特定的範疇,並且可以異步運行,同時共同執行過程。本書由一位經驗豐富的 Python 開發者撰寫,《Hands-On Microservices with Django》教您如何使用 Django 及其相關組件(如 Celery 和 Redis)來開發和部署微服務。您將從學習微服務和消息/任務隊列的原則開始,並了解如何有效設計它們。接下來,您將專注於使用 Django RESTful API(DFR)和 RabbitMQ 建立您的第一個微服務,並在過程中掌握基礎知識。隨著進展,您將學會如何將微服務容器化。之後,您將發現如何優化和保護它們以適應生產環境。
在本書結束時,您將具備設計和開發生產就緒的 Django 微服務應用程式所需的技能,並能使用 DFR、Celery/RabbitMQ、Redis 和 Django 的快取框架。
您將學到什麼
- 了解微服務的架構以及 Django 如何實現它
- 建立利用社群標準組件(如 Celery、RabbitMQ 和 Redis)的微服務
- 測試微服務並使用 Docker 部署它們
- 增強微服務的安全性以達到生產準備
- 透過快取提升微服務性能
- 實施最佳實踐以設計和部署高效能的微服務
本書適合誰
這本微服務和 Django 的書籍適合希望透過採用雲原生微服務來提升後端應用程式開發的 Django 開發者。具備 Flask 或其他 Python 網頁框架工作知識的後端開發者也將從本書中受益。具備基本的網頁 API 開發知識將幫助您快速開始自行建立微服務。
目錄
- 什麼是微服務?
- 介紹 Django 微服務架構
- 設置開發和運行環境
- 使用 MongoDB 進行雲原生數據處理
- 為微服務創建 RESTful API
- 使用 Celery 和 RabbitMQ 協調微服務
- 測試微服務
- 使用 Docker 部署微服務
- 保護微服務
- 透過快取改善微服務性能
- 微服務的最佳實踐
- 將單體網頁應用程式轉換為微服務版本