Skip to main content
Apress

Traefik API Gateway for Microservices

With Java and Python Microservices Deployed in Kubernetes

  • Book
  • © 2021

Overview

  • The first book to cover Traefik

  • Guides you from fundamental concepts to applications in microservices scenarios

  • Covers cases of microservices deployed on the Kubernetes platform

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (7 chapters)

Keywords

About this book

Use Traefik as a load balancer or a reverse proxy for microservices-based architecture. This book covers Traefik integration for microservices architecture concerns such as service discovery, telemetry, and resiliency.

The book focuses on building an in-depth understanding of Traefik. It starts with the fundamentals of Traefik, including different load balancing algorithms available, and failure handling for application resiliency. Examples are included for the failure scenarios. TLS support is explained, including scenarios of TLS termination and TLS forwarding. Traefik supports TLS termination using Let's Encrypt. Traefik deployment in prominent microservices ecosystems is discussed, including Docker and Kubernetes.

Traefik is a language-neutral component. This book presents examples of its deployment with Java-based microservices. The examples in the book show Traefik integration with Jaeger/Zipkin, Prometheus, Grafana, and FluentD. Also covered is Traefik for Python-based services and Java-based services deployed in the Kubernetes cluster. By the end of the book, you will confidently know how to deploy and integrate Traefik into prominent microservices ecosystems.






What You Will Learn

  • Understand Traefik basics and its components
  • Explore different load balancing scenarios and TLS termination
  • Configure service discovery, circuit breakers, timeouts, and throttling
  • Monitor Traefik using Prometheus and request tracing


Who This Book Is For

Developers and project managers who have developed microservices and are deploying them in cloud and on-premise environments with Kubernetes or Docker. The book is not specifically written for any particular programming language. The examples presented use Java or Python.


Authors and Affiliations

  • Patpargunj, India

    Rahul Sharma

  • Gurgaon, India

    Akshay Mathur

About the authors

Rahul Sharma is a seasoned Java developer with over 15 years of industry experience. In his career he has worked with companies of various sizes from enterprises to startups. During this time he has developed and managed microservices on the cloud (AWS/GCE/DigitalOcean) using open source software. He is an open source enthusiast and shares his experience at local meetups. He co-authored Java Unit Testing with JUnit 5 (Apress) and Getting Started with Istio Service Mesh (Apress).

Akshay Mathur is a software engineer with 15 years of experience, mostly in Java and web technologies. Most of his career has been spent building B2B platforms for enterprises, dealing with concerns such as scalability, configurability, multi-tenancy, and cloud engineering. He has hands-on experience implementing and operating microservices and Kubernetes in these ecosystems. Currently, he enjoys public speaking and blogging on new cloud native technologies (especially plain Kubernetes) and effective engineering culture.




Bibliographic Information

  • Book Title: Traefik API Gateway for Microservices

  • Book Subtitle: With Java and Python Microservices Deployed in Kubernetes

  • Authors: Rahul Sharma, Akshay Mathur

  • DOI: https://doi.org/10.1007/978-1-4842-6376-1

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books

  • Copyright Information: Rahul Sharma, Akshay Mathur 2021

  • Softcover ISBN: 978-1-4842-6375-4Published: 28 November 2020

  • eBook ISBN: 978-1-4842-6376-1Published: 27 November 2020

  • Edition Number: 1

  • Number of Pages: XV, 255

  • Number of Illustrations: 113 b/w illustrations

  • Topics: Professional Computing, Open Source

Publish with us