Summary
Practice a complete electrical micro business project services, from selection, business design, architecture design to complete process development process management, and operation and maintenance of on-line summary and analysis.
Instructors
Product Requirements Introduction
- Pure Online Mall
- Online and offline integration
- Cross-industry
- Cross-Business Model
From zero, we should use micro-services?
Not suitable for micro-service architecture:
- Small-scale applications
- The field is not clear
- Organization can not make a change
- Lack of understanding
- Team immature
Cost micro services (services from a monomer into micro)
- Collaboration problem
- Distributed transaction caused the problem
- Increase the number of duplicate code
- Service Monitoring
- Collect and display logs
Available resolved by K8S for costs arising from micro-services
The cost K8S
- Unified configuration problem
- Increase the number of deployment time
- Service registration and discovery
- Load Balancing
- Increased server costs
K8S advantage
- Stateless service availability
- Stateful high-availability data
- Rapid expansion
- Pay by volume
- Based GitLab and helm of CI / CD
- Unified configuration
- Service registration and discovery
- Log collection
Practice Groups
Micro Services Architecture
Micro Services Practice
- Core shared libraries: core library to deploy private nuget server, and automated through the CI
- Share Code: publishing business components based GitLab CI to nuget server
- Service templates: grpc server
- Synchronous Communication: local calls and RPC calls monomer deployment and distributed deployment
- Asynchronous communication: based saga masstransit library
- Unified authentication and authorization: Ocelot
- Collaboration: API Management, Postman
- Continuous integration: deploy to K8S based GitLab CI and helm CICD
- Future: distributed transaction, Service Mesh Service Grid
The value of micro-services
- Micro Services Architecture liberation small team productivity, improve market responsiveness
- Micro services are bullets, PaaS need for gun, aimed at the fast-changing goal
Video Links
ASP.NET Core Based K8S micro electric service provider case study.
This work is Creative Commons Attribution - NonCommercial - ShareAlike 4.0 International License Agreement for licensing.
欢迎转载、使用、重新发布,但务必保留文章署名 郑子铭 (包含链接: http://www.cnblogs.com/MingsonZheng/ ),不得用于商业目的,基于本文修改后的作品务必以相同的许可发布。
如有任何疑问,请与我联系 ([email protected]) 。