售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Microservices Deployment Cookbook
Microservices Deployment Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
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
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...
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...
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...
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...
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...
7. Building Asynchronous Streaming Systems with Kafka and Spark
Introduction
Setting up Kafka using Docker
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...
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...
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜