Service registration, discovery, and horizontal scalability are key operational requirements of a microservice architecture: each service needs to replicate; a standard mechanism by which services can easily scale up and down based upon metadata is important; the exact address of a service may not be known until the service is deployed and ready to be used; and the dynamic nature of a service’s endpoint address is handled by service registration, discovery, and a load balancer. This is all the more important in a containerized world.
Arun Gupta offers an overview of service discovery in different container orchestration frameworks, drawing on an example of a Java application talking to a database to demonstrate configurations in Docker, Kubernetes, DC/OS, and Amazon ECS—commonly used container orchestration platforms that all have built-in support for service discovery and scalability.
Arun Gupta is a principal open source technologist at Amazon Web Services. Previously, Arun built and led developer communities at Sun, Oracle, Red Hat, and Couchbase and has deep expertise in leading cross-functional teams to develop and execute strategy, planning and execution of content, marketing campaigns, and programs. He has also led engineering teams at Sun and is a founding member of the Java EE team. An avid runner, a globe trotter, a Java Champion, a JavaOne Rock Star four years in a row, a JUG leader, NetBeans Dream Team member, and a Docker Captain, Arun has authored more than 2,000 blog posts on technology and has given talks in more than 40 countries. He founded the Devoxx4Kids chapter in the US and continues to promote technology education among children. He is easily accessible at @arungupta.
©2017, O'Reilly Media, Inc. • (800) 889-8969 or (707) 827-7019 • Monday-Friday 7:30am-5pm PT • All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. • firstname.lastname@example.org