Book Image

Python Microservices Development – 2nd edition - Second Edition

By : Simon Fraser, Tarek Ziadé
Book Image

Python Microservices Development – 2nd edition - Second Edition

By: Simon Fraser, Tarek Ziadé

Overview of this book

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.
Table of Contents (14 chapters)
12
Other Books You May Enjoy
13
Index

The Jeeves bot

Jeeves is an example application that was created for this book. Don't look for it in the Apple or Play Store, as it's not released or deployed for real users.

However, the application does work, and you can study its different components on GitHub in the PythonMicroservices organization: https://github.com/PythonMicroservices/.

We will be connecting to Slack, a popular communication platform, primarily used to send text messages in channels, similar to the older IRC service. Jeeves will be our personal assistant—a name taken from the stories of P. G. Wodehouse—and used for other software bots and at least one search engine. We will be using the name for its familiarity and not because of any connection with other people's work. The Jeeves presented here offers an interactive service to users of a Slack workspace and can be easily adapted to other chat environments. It also offers a web view to configure essential settings.

Once...