舉報

會員
Hands-On Microservices:Monitoring and Testing
Microservicesarethelatest"right"wayofdevelopingwebapplications.Microservicesarchitecturehasbeengainingmomentumoverthepastfewyears,butonceyou'vestarteddownthemicroservicespath,youneedtotestandoptimizetheservices.Thisbookfocusesonexploringvarioustesting,monitoring,andoptimizationtechniquesformicroservices.Thebookstartswiththeevolutionofsoftwarearchitecturestyle,frommonolithictovirtualized,tomicroservicesarchitecture.Thenyouwillexploremethodstodeploymicroservicesandvariousimplementationpatterns.Withthehelpofareal-worldexample,youwillunderstandhowexternalAPIshelpproductdeveloperstofocusoncorecompetencies.Afterthat,youwilllearntestingtechniques,suchasUnitTesting,IntegrationTesting,FunctionalTesting,andLoadTesting.Next,youwillexploreperformancetestingtools,suchasJMeter,andGatling.Then,wedeepdiveintomonitoringtechniquesandlearnperformancebenchmarkingofthevariousarchitecturalcomponents.Forthis,youwillexploremonitoringtoolssuchasAppdynamics,Dynatrace,AWSCloudWatch,andNagios.Finally,youwilllearntoidentify,address,andreportvariousperformanceissuesrelatedtomicroservices.
目錄(151章)
倒序
- coverpage
- Title Page
- Dedication
- Packt Upsell
- Why subscribe?
- Packt.com
- Contributors
- About the author
- 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
- Code in action
- Conventions used
- Get in touch
- Reviews
- Software Architecture Patterns
- The monolithic architecture pattern
- Monolithic application example
- Benefits of monolithic application architecture
- When to use monolithic architecture
- Limitations of monolithic application architecture
- Software development processes with monolithic architecture
- Microservice architecture pattern
- Microservice application example
- Benefits of microservice application architecture
- Disadvantages of the microservice architecture pattern
- When to use microservice architecture
- Service-oriented architecture (SOA)
- SOA versus microservice architecture
- Summary
- Anatomy of Microservice Decomposition Services
- Anatomy of a microservice
- Context boundaries
- Decomposition based on business capability
- Decomposition on the basis of domain
- Microservice chassis to handle cross-cutting concerns
- Building microservices
- SOAP versus RESTful microservices
- Summary
- Microservices Deployment Patterns
- Microservices deployment
- Multiple instances of microservices per host
- A single instance of a microservice per host
- Benefits
- Drawbacks
- A single instance of a microservice per VM
- Benefits
- Drawbacks
- A single instance of microservice per container
- Benefits
- Drawbacks
- Service deployment platforms
- Serverless deployment
- Summary
- Inter-Service Communication
- Approaches to service communication
- Synchronous communication
- REST
- Benefits of REST
- Google Remote Procedure Calls
- Apache Thrift
- Asynchronous communication
- Messaging
- Benefits of messaging
- Drawbacks of messaging
- Transactional messaging
- One-to-one service communication
- One-to-many service communication
- Event-based communication
- The Command Query Responsibility Segregation pattern
- The Event Sourcing Model pattern
- Benefits
- The Eventual Consistency pattern
- Domain-specific protocol
- Summary
- Service Registry and Discovery
- Technical Requirements
- The need for service discovery in microservice architecture
- Service discovery patterns
- The client-side discovery pattern
- The server-side discovery pattern
- Microservice registry and discovery with Eureka
- Implementing Service Registry with Eureka
- Implementing the Eureka Discovery server
- Summary
- External API Gateway
- Technical Requirements
- Introducing an API gateway
- Client-to-microservice communication
- Drawbacks
- Using an API gateway
- Benefits
- Drawbacks
- Building an API gateway
- API gateway performance and scalability
- Building an API gateway using a reactive programming model
- API gateway and service invocation mechanism support
- API gateway and service discovery
- Handling partial failures
- Building an API gateway using Spring Cloud's Netflix Zuul proxy
- MuleSoft
- Summary
- Testing of Microservices
- Technical Requirements
- Testing strategies for microservices
- The testing pyramid strategy
- The testing honeycomb strategy
- Unit testing
- Unit testing – an example
- Integration testing
- Database integration testing – an example
- REST API integration – an example
- Component testing
- Contract testing
- End-to-end testing
- UI/functional testing
- Summary
- Performance Testing of Microservices
- Technical Requirements
- JMeter
- Installing JMeter
- Performance testing microservices with JMeter
- Creating a performance test plan
- Gatling
- Installing Gatling
- Performance testing with Gatling
- Maven plugin configuration
- Gradle plugin configuration
- Running a Gatling test suite using the Gatling GUI
- The ReadyAPI
- Summary
- Performance Monitoring of Microservices
- Identifying performance counters to test microservices
- Performance monitoring tools
- AppDynamics
- Dynatrace
- AWS CloudWatch
- Nagios
- New Relic
- Datadog (for Docker performance monitoring)
- Component-level monitoring
- Domain-specific monitoring
- Dashboards and identifying issues by going through logs
- Grafana
- Summary
- Other Books You May Enjoy
- Leave a review - let other readers know what you think 更新時間:2021-06-24 18:24:50
推薦閱讀
- 面向物聯(lián)網(wǎng)的CC2530與傳感器應用開發(fā)
- 光網(wǎng)絡評估及案例分析
- Building Django 2.0 Web Applications
- 通信簡史:從信鴿到6G+
- 計算機網(wǎng)絡與通信(第2版)
- 物聯(lián)網(wǎng)通信技術(shù)
- 物聯(lián)網(wǎng)頂層設計與關(guān)鍵技術(shù)
- 網(wǎng)絡利他行為研究:積極心理學的視角
- 設備監(jiān)控技術(shù)詳解
- Building RESTful Web Services with .NET Core
- 工業(yè)以太網(wǎng)技術(shù):AFDX/TTE網(wǎng)絡原理、接口、互連與安全
- 物聯(lián)網(wǎng)M2M開發(fā)技術(shù):基于無線CPU-Q26XX
- 網(wǎng)絡互聯(lián)技術(shù)(理論篇)
- 物聯(lián)網(wǎng)傳感器技術(shù)與應用
- 無線傳感器網(wǎng)絡定位方法及應用
- 巧學活用CISCO網(wǎng)絡典型配置
- 網(wǎng)絡分析技術(shù)揭秘:原理、實踐與WinPcap深入解析
- CDN技術(shù)詳解
- 物聯(lián)網(wǎng):感知、傳輸與應用
- OpenShift Cookbook
- OpenStack CI/CD:原理與實踐
- 趣學CCNA:路由與交換(第2版)
- Exchange Server 2010 SP1/SP2管理實踐
- 計算機網(wǎng)絡基礎(第4版)
- 走進下一代互聯(lián)網(wǎng):改變你生活的物聯(lián)網(wǎng)
- 物聯(lián)網(wǎng)之芯:傳感器件與通信芯片設計
- 崛起的超級智能:互聯(lián)網(wǎng)大腦如何影響科技未來
- 深入理解互聯(lián)網(wǎng)
- 物聯(lián)網(wǎng)與智能制造
- 物聯(lián)網(wǎng)與嵌入式系統(tǒng)開發(fā)