更新时间:2021-06-24 19:08:10
coverpage
Title Page
Dedication
Packt Upsell
Why subscribe?
PacktPub.com
Foreword
Contributors
About the authors
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Introduction to Cloud-Native
Why go cloud-native?
What is cloud-native?
Lift and shift
Going native
Going serverless
Cloud-native and microservices
The 12-factor app
Microservices-enabling service ecosystem
Microservice adoption
Monolithic transformation
Summary
Writing Your First Cloud-Native Application
Setting up your developer toolbox
Getting an IDE
Setting up internet connectivity
Understanding the development life cycle
Requirements/user stories
Architecture
Design
Testing and development
Building and deployment
Selecting a framework
Dropwizard
Vert.x
Spring Boot
Writing a product service
Creating a Maven project
Writing a Spring Boot application class
Writing service and domain objects
Running the service
Testing the service on the browser
Creating a deployable
Enabling cloud-native behaviors
Externalizing configuration
Metering your services
Service registration and discovery
Running a service registry
Registering a product service
Creating a product client
Seeing the lookup in action
Designing Your Cloud-Native Application
The trio – REST HTTP and JSON
Rise and popularity of the APIs
Role of API gateways
Benefits of an API gateway
Application decoupling
Bounded context/domain-driven design
Classification into up/downstream services
Business events
Microservice identification
Differences between microservices and service-oriented architecture (SOA)
Service granularity
Microservice design guidelines
Design and deployment patterns
Design patterns
Content aggregation patterns
Aggregation by client
API aggregation
Microservice aggregation
Database aggregation
Coordination patterns
Business process management (BPM)
Composite services
Why composite services?
Capabilities for microservices coordination
Coordination models
Asynchronous parallel
Asynchronous sequential
Orchestration using request/response
Collapsing the microservices
Deployment patterns
Multiple services per WAR file
Benefits and trade-offs
Suitability
Service per WAR/EAR
Service per process