Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Python Microservices Development

You're reading from   Python Microservices Development Build, test, deploy, and scale microservices in Python

Arrow left icon
Product type Paperback
Published in Jul 2017
Publisher Packt
ISBN-13 9781785881114
Length 340 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (20) Chapters Close

Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Introduction
1. Understanding Microservices FREE CHAPTER 2. Discovering Flask 3. Coding, Testing, and Documenting - the Virtuous Cycle 4. Designing Runnerly 5. Interacting with Other Services 6. Monitoring Your Services 7. Securing Your Services 8. Bringing It All Together 9. Packaging and Running Runnerly 10. Containerized Services 11. Deploying on AWS 12. What Next?

Introduction

When I started to work at Mozilla 7 years ago, we began to write web services for some Firefox features. Some of them eventually became microservices. This change did not happen over time, but gradually. The first driver of this shift was the fact that we moved all our services to a cloud provider and started to interact with some of their third-party services. When you host your app in the cloud, a microservice architecture becomes a natural fit. The other driver was the Firefox Account project. We wanted to offer a single identity to our users to interact with our services from Firefox. By doing so, all our services had to interact with the same identity provider, and some server-side pieces started to get redesigned as microservices to be more efficient in that context.

I think a lot of web developers out there have been through a similar experience or are going through it right now. I also believe Python is one of the best languages to write small and efficient microservices; its ecosystem is vibrant and the latest Python 3 features make Python competitive in that field against Node.js, which has had a stellar growth in the last 5 years.

This is what is this book is all about; I wanted to share my experience of writing microservices in Python through a simple use case that I have created for this purpose--Runnerly, which is available on GitHub for you to study. You can interact with me there, point mistakes if you see any, and we can continue to learn about writing excellent Python apps together.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime
Visually different images