Tips, best practices, and handy Python features for designing better microservices architecture and streamlining API integrations.
Microservice APIs in Python teaches you practical techniques for designing successful microservices with APIs that are easy to understand, consume, and maintain. Inside you’ll learn strategies for successful API integrations, how to avoid tight coupling, implement services with clear boundaries, manage cloud deployments, and handle microservices security.
In Microservice APIs in Python, you’ll learn:
Service decomposition strategies for microservices
Documentation-driven development for APIs
Swagger/OpenAPI specification for REST APIs and Schema Definition Language for GraphQL APIs
Service implementation patterns for loosely coupled components
Security and authentication strategies
Deploying and operating microservices in the cloud
Building microservices with Flask and other frameworks
about the technology
Standard Python web applications, such as those you’d typically build with Django or Flask, can be hard to scale and maintain when built as monoliths. Microservices design makes it possible to isolate key features and functionality as independently written and maintained services. To take advantage of this more resilient architecture, you need to learn the patterns, frameworks, and tools that make Python-based microservices easy to build and manage.
about the book
Microservice APIs in Python shares successful strategies and techniques for designing Microservices systems, with a particular emphasis on creating easy-to-consume APIs. You’ll benefit from author Jose Haro Peralta’s years of experience experimenting with microservices architecture, dodging pitfalls and learning from mistakes he’s made.
This practical guide focuses on implementation over philosophizing and has just enough theory to get you started. You’ll quickly go hands on designing the architecture for a microservices platform, produce standard specifications for REST and GraphQL APIs, and bake in authentication features to keep your APIs secure. Written in a framework-agnostic manner, its universal principles of API and microservices design can easily be applied to your favorite stack and toolset.
about the reader
For web developers familiar with Python and the basics of web development.
about the author
José Antonio Haro Peralta is a full-stack software consultant specializing in Python and DevOps. He has worked in different industries, including IoT, financial services and retail, helping clients tackle varied problems including migrating legacy code to Python, migrating on-premise software to the Cloud, and migrating monoliths to microservices architectures.
customers also reading
FREE domestic shipping on orders of three or more print books