Title Statements
- Full title :Python Microservices Development.
Summary
A practical approach to conquering the complexities of Microservices using the Python tooling ecosystemAbout This Book* A very useful guide for Python developers who are shifting to the new microservices-based development* A concise, up-to-date guide to building efficient and lightweight microservices in Python using Flask, Tox, and other tools* Learn to use Docker containers, CoreOS, and Amazon Web Services to deploy your servicesWho This Book Is ForThis book is for developers who have basic knowledge of Python, the command line, and HTTP-based application principles, and those who want to learn how to build, test, scale, and manage Python 3 microservices. No prior experience of writing microservices in Python is assumed. What You Will Learn* Explore what microservices are and how to design them* Use Python 3, Flask, Tox, and other tools to build your services using best practices* Learn how to use a TDD approach* Discover how to document your microservices* Configure and package your code in the best way* Interact with other services* Secure, monitor, and scale your services* Deploy your services in Docker containers, CoreOS, and Amazon Web ServicesIn DetailWe often deploy our web applications into the cloud, and our code needs to interact with many third-party services. An efficient way to build applications to do this is through microservices architecture. But, in practice, it's hard to get this right due to the complexity of all the pieces interacting with each other. This book will teach you how to overcome these issues and craft applications that are built as small standard units, using all the proven best practices and avoiding the usual traps. It's a practical book: you'll build everything using Python 3 and its amazing tooling ecosystem. You will understand the principles of TDD and apply them. You will use Flask, Tox, and other tools to build your services using best practices. 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. You will also familiarize yourself with Docker's role in microservices, and use Docker containers, CoreOS, and Amazon Web Services to deploy your services. This book will take you on a journey, ending with the creation of a complete Python application based on microservices. By the end of the book, you will be well versed with the fundamentals of building, designing, testing, and deploying your Python microservices. Style and approachThis book is an linear, easy-to-follow guide on how to best design, write, test, and deploy your microservices. It includes real-world examples that will help Python developers create their own Python microservice using the most efficient methods.
Read More ↓Edition Statements
- Publication Date:2017.
Publication Statements
- Publisher(s):Packt Publishing
- Language:eng
- Publication Date:2017.
The Physical Object
- Description:1 online resource
Edition Identifiers
- ISBN:1785886789, 9781785886782, 1785881116, 9781785881114
- oclc:ocn995487511
- LC Classification:T55.4-60.8
Table of Contents
Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Customer Feedback; Table of Contents; Preface; Introduction; Chapter 1: Understanding Microservices; Origins of Service-Oriented Architecture; The monolithic approach; The microservice approach; Microservice benefits; Separation of concerns; Smaller projects; Scaling and deployment; Microservices pitfalls; Illogical splitting; More network interactions; Data storing and sharing; Compatibility issues; Testing; Implementing microservices with Python; The WSGI standard; Greenlet and Gevent; Twisted and Tornado.
AsyncioLanguage performances; Summary; Chapter 2: Discovering Flask; Which Python?; How Flask handles requests; Routing; Variables and converters; The url_for function; Request; Response; Flask built-in features; The session object; Globals; Signals; Extensions and middlewares; Templates; Configuration; Blueprints; Error handling and debugging; Custom error handler; The debug mode; A microservice skeleton; Summary; Chapter 3: Coding, Testing, and Documenting -- the Virtuous Cycle; Different kinds of tests; Unit tests; Functional tests; Integration tests; Load tests; End-to-end tests.
Using Web…
Subjects
Writers
No reviews yet. Be the first to rate this work.
Files & Downloads
-
Python Microservices Development -- (.pdf)
PDF · 5.1 MB · updated -
Python Microservices Development -- (.epub)
EPUB · 3.7 MB · updated -
Python microservices development: build, test, de…
MOBI · 10.0 MB · updated -
Python microservices development: build, test, de…
MOBI · 3.6 MB · updated -
Python programming blueprints: build nine project…
EPUB · 5.5 MB · updated -
Python Microservices Development -- (.mobi)
MOBI · 3.6 MB · updated -
Python Microservices Development -- (.epub)
EPUB · 2.4 MB · updated -
Python Microservices Development -- (.azw3)
AZW3 · 2.4 MB · updated -
Python Microservices Development -- (.pdf)
PDF · 4.1 MB · updated -
Functional Python Programming -- (.epub)
EPUB · 5.7 MB · updated
Rate & Review