All Projects → PacktPublishing → Microservices-Deployment-Cookbook

PacktPublishing / Microservices-Deployment-Cookbook

Licence: MIT license
Code repository for Microservices Deployment Cookbook, published by Packt.

Programming Languages

java
68154 projects - #9 most used programming language
Dockerfile
14818 projects
shell
77523 projects

GitHub issues GitHub forks GitHub stars GitHub license

Microservices Deployment Cookbook

This is the code repository for Microservices Deployment Cookbook, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

This book will help any team or organization understand, deploy, and manage microservices at scale. It is driven by a sample application, helping you gradually build a complete microservice-based ecosystem. Rather than just focusing on writing a microservice, this book addresses various other microservice-related solutions: deployments, clustering, load balancing, logging, streaming, and monitoring.

The initial chapters offer insights into how web and enterprise apps can be migrated to scalable microservices. Moving on, you’ll see how to Dockerize your application so that it is ready to be shipped and deployed. We will look at how to deploy microservices on Mesos and Marathon and will also deploy microservices on Kubernetes. Next, you will implement service discovery and load balancing for your microservices. We’ll also show you how to build asynchronous streaming systems using Kafka Streams and Apache Spark.

Finally, we wind up by aggregating your logs in Kafka, creating your own metrics, and monitoring the metrics for the microservice.

Instructions and Navigation

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

package com.packt.microservices.geolocation;

import java.io.Serializable;
import java.util.UUID;

public class GeoLocation implements Serializable {

  private static final long serialVersionUID = 1L;
  
  private double latitude;
  private double longitude;
  private UUID userId;
  private long timestamp;
  
  public double getLatitude() {
    return latitude;
  }
  
  public void setLatitude(double latitude) {
    this.latitude = latitude;
  }
  
  public double getLongitude() {
    return longitude;
  }

Related Microservices Products

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781786469434

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].