Microservices deployment cookbook master over 60 recipes to help you deliver complete, scalable, microservice-based solutions and see the improved business results immediately
Master over 60 recipes to help you deliver complete, scalable, microservice-based solutions and see the improved business results immediately About This Book Adopt microservices-based architecture and deploy it at scale Build your complete microservice architecture using different recipes for differ...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt
2017.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630089706719 |
Tabla de Contenidos:
- Cover
- Copyright
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: Building Microservices with Java
- Introduction
- Creating a project template using STS and Maven
- Getting ready
- How to do it…
- There's more…
- Writing microservices with Spring Boot
- Getting ready
- How to do it…
- Writing REST APIs with Spring MVC
- Getting ready
- How to do it…
- Writing microservices with WildFly Swarm
- Getting ready
- How to do it…
- Writing microservices with Dropwizard
- Getting ready
- How to do it…
- Writing REST APIs with SparkJava
- Getting ready
- How to do it…
- Conclusion
- Chapter 2: Containerizing Microservices with Docker
- Building an executable JAR using Maven Shade plugin
- Getting ready
- How to do it…
- Building an executable JAR using the Spring Boot Maven plugin
- Getting ready
- How to do it…
- Installing and setting up Docker
- Getting ready
- How to do it…
- Writing your Dockerfile
- Getting ready
- How to do it…
- Building your Docker image
- Getting ready
- How to do it…
- Running your microservice inside a Docker container
- Getting ready
- How to do it…
- Pushing your image to Docker Hub
- Getting ready
- How to do it…
- Chapter 3: Deploying Microservices on Mesos
- Introduction
- Setting up a Mesos cluster using Docker
- Getting ready
- Zookeeper
- Mesos masters and Mesos slaves
- Mesos frameworks
- How to do it…
- Understanding the Mesos and Marathon interface
- Getting ready
- How to do it…
- The Mesos interface
- The Mesos home page
- Frameworks
- The Marathon web UI
- Deploying your microservice to Mesos using Marathon
- Getting ready
- How to do it…
- Configuring ports in Marathon
- Getting ready
- How to do it…
- Configuring volumes in Marathon
- Getting ready.
- How to do it…
- Configuring environment variables in Marathon
- Getting ready
- How to do it…
- Scaling your microservice in Marathon
- Getting ready
- How to do it…
- Destroying your microservice in Marathon
- Getting ready
- How to do it…
- Monitoring your microservice logs in Marathon
- Getting ready
- How to do it…
- Monitoring your microservice logs in Mesos
- Getting ready
- How to do it…
- Managing your microservice using Marathon's REST API
- Getting ready
- How to do it…
- Chapter 4: Deploying Microservices on Kubernetes
- Introduction
- Kubernetes master
- API server
- etcd
- Scheduler
- Controller manager
- Kubernetes node
- Setting up Kubernetes cluster using Docker
- Getting ready
- How to do it…
- Understanding the Kubernetes dashboard
- Getting ready
- How to do it…
- Deploying your microservice on Kubernetes
- Getting ready
- How to do it…
- Configuring ports in Kubernetes
- Getting ready
- How to do it…
- Configuring volumes in Kubernetes
- Getting ready
- How to do it…
- Configuring environment variables in Kubernetes
- Getting ready
- How to do it…
- Scaling your microservice in Kubernetes
- Getting ready
- How to do it…
- Destroying your microservice in Kubernetes
- Getting ready
- How to do it…
- Monitoring your microservice logs in Kubernetes
- Getting ready
- How to do it…
- Chapter 5: Service Discovery and Load Balancing Microservices
- Introduction
- Setting up Zookeeper using Docker
- Getting ready
- How to do it…
- Load balancing microservices using Zookeeper
- Getting ready
- How to do it…
- Setting up Consul using Docker
- Getting ready
- How to do it…
- Understanding the concepts of Consul
- Implementing service discovery using Spring Cloud Consul
- Getting ready
- How to do it…
- Load balancing your microservice using Spring Cloud Consul.
- Getting ready
- How to do it…
- Load balancing your microservice using Nginx and Consul
- Getting ready
- How to do it…
- Load balancing your microservice using Marathon LB
- How it works…
- Chapter 6: Monitoring Microservices
- Introduction
- Configuring Spring Boot Actuator metrics
- Getting ready
- How to do it…
- Understanding Spring Boot Actuator metrics
- Getting ready
- How to do it…
- Creating custom metrics using Dropwizard
- Getting ready
- How to do it…
- Setting up Graphite using Docker
- Getting ready
- How to do it…
- Using the Graphite interface
- Getting ready
- How to do it…
- Tree view
- Search
- Auto-Completer
- Graphite
- Exporting Dropwizard metrics over to Graphite
- Getting ready
- How to do it…
- Exporting Spring Boot Actuator metrics over to Graphite
- Getting ready
- How to do it…
- Setting up Grafana using Docker
- Getting ready
- How to do it…
- Configuring Grafana to use Graphite
- Getting ready
- How to do it…
- Configuring Grafana dashboards to view metrics
- Getting ready
- How to do it…
- Chapter 7: Building Asynchronous Streaming Systems with Kafka and Spark
- Introduction
- Setting up Kafka using Docker
- [Kafka]
- Kafka
- Point-to-point mechanism
- Pub-sub mechanism
- Kafka terminology
- Brokers
- Topics
- Partitions
- Producers and consumers
- Getting ready
- How to do it…
- Creating Kafka topics to stream data
- Getting ready
- How to do it…
- Writing a streaming program using Kafka Streams
- Getting ready
- How to do it…
- Improving the performance of the Kafka Streams program
- Getting ready
- How to do it…
- Writing a streaming program using Apache Spark
- Getting ready
- How to do it…
- Improving the performance of the Spark job
- How to do it…
- Aggregating logs into Kafka using Log4J
- Getting ready
- How to do it….
- Integrating Kafka with log management systems
- How it works…
- Chapter 8: More Clustering Frameworks - DC/OS, Docker Swarm, and YARN
- Introduction
- Deploying infrastructure with DC/OS
- Getting ready
- How to do it…
- Deploying containers with Docker Swarm
- Getting ready
- How to do it…
- Deploying containers on YARN
- Getting ready
- How it works…
- Index.