Practices of Go Microservices on Post-Kubernetes-Wei Zheng
Practices of Go Microservices on Post-Kubernetes 郑伟 ⽯墨⽂档 Background in Shimo Language • Go • Node • Rust Background in Shimo Framework • Gin • Echo • gRPC • … Background in Shimo Platform operations Components Logging • Append standard logging when error occurs How do we manage our microservices? Traffic Management - Rate limiting/Circuit Breaker • Ingress Controller • Client/Server side0 码力 | 59 页 | 5.66 MB | 1 年前3《Saga分布式事务解决⽅案与实践》演讲者/姜宁
Database Inventory Database http://blog.christianposta.com/microservices/the-hardest-part-about-microservices-data/ http://microservices.io/patterns/data/database-per-service.html 两阶段提交 2PC Transaction https://github.com/aphyr/dist-sagas/blob/master/sagas.pdf Distributed Sagas Chris Richardson http://microservices.io/patterns/data/saga.html Microservice saga pattern StartSaga Saga Started Flight Started 两个Saga事务同时访问扣款账号,⽆无法看到退款 (脏读取问题) • 在⼀一个Saga事务内,数据被其他事务修改前后的读取值不不⼀一致(模糊 读取问题) http://microservices.io/microservices/general/2018/03/22/microxchg-sagas.html 如何应对隔离性问题 • 隔离的本质是控制并发,防⽌止并发事务操作相同资源⽽而引起结果错乱0 码力 | 39 页 | 2.78 MB | 1 年前3《Saga分布式事务解决⽅案与实践》演讲者/姜宁
Database Inventory Database http://blog.christianposta.com/microservices/the-hardest-part-about-microservices-data/ http://microservices.io/patterns/data/database-per-service.html 两阶段提交 2PC Transaction https://github.com/aphyr/dist-sagas/blob/master/sagas.pdf Distributed Sagas Chris Richardson http://microservices.io/patterns/data/saga.html Microservice saga pattern StartSaga Saga Started Flight Started 两个Saga事务同时访问扣款账号,⽆无法看到退款 (脏读取问题) • 在⼀一个Saga事务内,数据被其他事务修改前后的读取值不不⼀一致(模糊 读取问题) http://microservices.io/microservices/general/2018/03/22/microxchg-sagas.html 如何应对隔离性问题 • 隔离的本质是控制并发,防⽌止并发事务操作相同资源⽽而引起结果错乱0 码力 | 33 页 | 2.38 MB | 1 年前33 在AWS部署与发布你面向全球的Python Serverless应用 谢洪恩
2001–2002 monolithic application + teams 2001 Lesson learned: decompose for agility 2002 microservices + 2 pizza teams Full ownership Full accountability “DevOps” Focused innovation Two-pizza When the impact of change is small, release velocity can increase Monolith Does everything Microservices Does one thing MICROSERVICE API API MICROSERVICE MICROSERVICE EVENT API MICROSERVICE APPLICATION Mobile client Client IoT PERSISTENCE PERSISTENCE Microservices Architecture APIs are the front door of microservices Mobile apps Websites Services Internet Amazon CloudFront Amazon0 码力 | 53 页 | 24.15 MB | 1 年前3Candid: the interface description language of the Internet Computer smart contracts - 陈研
interoperability between microservices? Motivation • How to maintain interoperability between microservices? Upgrade Motivation • How to maintain interoperability between microservices? • APIs are allowed as v2 Send v2 result Decode v2 as v1 Motivation • How to maintain interoperability between microservices? • APIs are allowed to evolve without breaking existing client • Wire format contains type information0 码力 | 35 页 | 1.35 MB | 1 年前3微服务的设计原则与⽣态系统 - 王磊
Meetup 联合发起⼈人 关于我 议题 • 微服务架构的核⼼心 • 微服务架构设计原则 • 微服务架构⽣生态系统 Are you using microservices? Are you using microservices? https://www.nginx.com/resources/library/app-dev-survey/ 什什么是微服务架构? • 微服务架构 等 Microservices – the new architectural style. Martin Fowler,Mar 2014 ...... Micro (u)Services Architecture - small, short lived services rather than SOA. Fred George 2012/3 Microservices are0 码力 | 62 页 | 6.65 MB | 1 年前3Kubernetes容器应用基于Istio的灰度发布实践
Istio & Kubernetes • Istio & Kubernetes上的灰度发布 An open platform to connect, manage, and secure microservices. Istio项目 微服务角度看Istio: 治理形态的演变 Node 1 svc1 自身业务 SDK Sidecar 服务治理 Node 2 svc 2 自身业务 SDK without notice. Thank You. Istio & Kubernetes 在Google:Managed Istio Istio & Kubernetes 在Google:microservices become API Apigee API Management complements Istio with the robust features of Google Cloud's Cloud's Apigee API management platform, Apigee Edge, by extending API management natively into the microservices stack Istio & Kubernetes 在Google: Knative Knative Serving builds on Kubernetes and Istio to0 码力 | 38 页 | 14.93 MB | 1 年前32.1.7 谈如何构建易于拆分的单体应用
基于go-kit构建易拆分的单体应⽤ 03 总结 04 微服务架构的困境与突破 第⼀部分 微服务架构的困境与突破 01 Monolith to Microservices To move from Monolithic to Microservices more easily,what should we consider ? (2) Business Logic+Data Interface Go-kit Instruction https://github.com/go-kit/kit Go-kit is a programming toolkit for building microservices (or elegant monoliths) in Go. Architecture and design : It is not an MVC framework. Instead, Go-kit0 码力 | 27 页 | 13.04 MB | 1 年前3Python in Azure Functions 基于Python的Azure Functions实践 赵健
Cloud-Optimized PaaS Cloud-Native PaaS for microservices and serverless Cloud Infrastructure-Ready VMs Managed services Azure PaaS for containerized microservices + Serverless computing + Managed services0 码力 | 28 页 | 12.57 MB | 1 年前3宋净超 从开源 Istio 到企业级服务:如何在企业中落地服务网格
September 24, 2022 Shanghai, China Cloud Native Application Networking Secure, Observe and manage microservices Outline ● Background ● Enterprise Service Mesh: Tetrate Service Bridge ● Tetrate OSS Projects aware network Cloud!=Cloud Native Bare metal VMs Kubernetes VMs ● Monolith was decoupled to Microservices ● External and internal traffic starts to look less and less different from the perspective0 码力 | 30 页 | 4.79 MB | 6 月前3
共 41 条
- 1
- 2
- 3
- 4
- 5