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 now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Microservices ??? Monitoring and Testing

You're reading from   Hands-On Microservices ??? Monitoring and Testing A performance engineer's guide to the continuous testing and monitoring of microservices

Arrow left icon
Product type Paperback
Published in Oct 2018
Publisher Packt
ISBN-13 9781789133608
Length 160 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Dinesh Rajput Dinesh Rajput
Author Profile Icon Dinesh Rajput
Dinesh Rajput
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Software Architecture Patterns 2. Anatomy of Microservice Decomposition Services FREE CHAPTER 3. Microservices Deployment Patterns 4. Inter-Service Communication 5. Service Registry and Discovery 6. External API Gateway 7. Testing of Microservices 8. Performance Testing of Microservices 9. Performance Monitoring of Microservices 10. Other Books You May Enjoy

Using an API gateway

As a best practice, a client must not have information about your microservice hosts and ports. All clients must be aware of the single entry point to all microservices. In this case, we have to implement an API gateway that provides a single entry point for clients. This is a much better approach than direct client-to-service communication.

An API gateway is an edge server that provides services to a client that is similar to the Facade pattern from object-oriented design. The API gateway hides the diversity of protocols from multiple background microservices and instead provides a common API for each client and microservice. An API gateway is responsible for request routing, composition, and protocol translation. They may also have other functionalities, such as authentication, monitoring, load balancing, caching, request shaping and management, and static...

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 €18.99/month. Cancel anytime