Microservices From Day One: Build robust and scalable software from the start
- Length: 246 pages
- Edition: 1st ed.
- Language: English
- Publisher: Apress
- Publication Date: 2017-01-18
- ISBN-10: 1484219368
- ISBN-13: 9781484219362
- Sales Rank: #2366998 (See Top 100 Books)
Learn what a microservices architecture is, its advantages, and why you should consider using one when starting a new application. The book describes how taking a microservices approach from the start helps avoid the complexity and expense of moving to a service-oriented approach after applications reach a critical code base size or traffic load.
Microservices from Day One discusses many of the decisions you face when adopting a service-oriented approach and defines a set of rules to follow for easily adopting microservices. The book provides simple guidelines and tips for dividing a problem domain into services. It also describes best practices for documenting and generating APIs and client libraries, testing applications with service dependencies, optimizing services for client performance, and much more. Throughout the book, you will follow the development of a sample project to see how to apply the best practices described.
What You Will Learn
- Apply guidelines and best practices for developing projects that use microservices
- Define a practical microservices architecture at the beginning of a project that allows for fast development
- Define and build APIs based on real-world best practices
- Build services that easily scale by using tools available in most programming languages
- Test applications in a distributed environment
Who This Book is For
Software engineers and web developers who have heard about microservices, and want to either move the project/applications they work on to a service-oriented environment, or want to start a new project knowing that building services helps with ease of scaling and maintainability. The book is a reference for developers who have a desire to build software in smaller, more focused and manageable chunks, but do not know how to get started.
Table of Contents
Part I: Service Oriented Architectures
Chapter 1: Microservices: The What and the Why
Chapter 2: Rules of Engagement
Part II: APIs
Chapter 3: Partitioning Your Business into Services
Chapter 4: Designing Your APIs
Chapter 5: Defining APIs
Chapter 6: Consuming Your APIs
Chapter 7: Optimizing Your APIs
Part III: Development and Deployment
Chapter 8: Development Environment and Workflow
Chapter 9: Testing with Services
Chapter 10: Deploying and Running Microservices
Part IV: Putting Everything Together
Chapter 11: Polyglot Services
Chapter 12: Single-Client Application—Mobile and Web
Chapter 13: Monitoring Your Services
Chapter 14: Operational Excellence with Microservices