
Python Microservices Development
Build efficient and lightweight microservices using the Python tooling ecosystem, 2nd Edition
- 310 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Python Microservices Development
Build efficient and lightweight microservices using the Python tooling ecosystem, 2nd Edition
About this book
Use Python microservices to craft applications that are built as small standard units using proven best practices and avoiding common errors
Key Features
- Become well versed with the fundamentals of building, designing, testing, and deploying Python microservices
- Identify where a monolithic application can be split, how to secure it, and how to scale it once ready for deployment
- Use the latest framework based on asynchronous programming to write effective microservices with Python
Book Description
The small scope and self-contained nature of microservices make them faster, cleaner, and more scalable than code-heavy monolithic applications. However, building microservices architecture that is efficient as well as lightweight into your applications can be challenging due to the complexity of all the interacting pieces.
Python Microservices Development, Second Edition will teach you how to overcome these issues and craft applications that are built as small standard units using proven best practices and avoiding common pitfalls. Through hands-on examples, this book will help you to build efficient microservices using Quart, SQLAlchemy, and other modern Python tools
In this updated edition, you will learn how to secure connections between services and how to script Nginx using Lua to build web application firewall features such as rate limiting. Python Microservices Development, Second Edition describes how to use containers and AWS to deploy your services. By the end of the book, you'll have created a complete Python application based on microservices.
What you will learn
- Explore what microservices are and how to design them
- Configure and package your code according to modern best practices
- Identify a component of a larger service that can be turned into a microservice
- Handle more incoming requests, more effectively
- Protect your application with a proxy or firewall
- Use Kubernetes and containers to deploy a microservice
- Make changes to an API provided by a microservice safely and keep things working
- Identify the factors to look for to get started with an unfamiliar cloud provider
Who this book is for
This book is for developers who want to learn how to build, test, scale, and manage Python microservices. Readers will require basic knowledge of the Python programming language, the command line, and HTTP-based application principles. No prior experience of writing microservices in Python is assumed.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
2
Discovering Quart
- Making sure we have Python
- How Quart handles requests
- Quart's built-in features
- A microservice skeleton
- https://pgjones.gitlab.io/quart/index.html
- https://flask.palletsprojects.com/
Making sure we have Python
Table of contents
- Preface
- Understanding Microservices
- Discovering Quart
- Coding, Testing, and Documentation: the Virtuous Cycle
- Designing Jeeves
- Splitting the Monolith
- Interacting with Other Services
- Securing Your Services
- Making a Dashboard
- Packaging and Running Python
- Deploying on AWS
- What's Next?
- Other Books You May Enjoy
- Index