华为微服务框架ServiceComb
技术与家 Building Microservice NO.1 深圳站 Cloud Native 架构下的 K8S 和微服务实践 INTRODUCTION 2018 Building Microservice NO.1 深圳站: Cloud Native 架构下的 K8S 和微服务实践 SPEAKER 华为公司 ServiceComb项目负责人. Apache Member Native 架构下的 K8S 和微服务实践 TABLE OF 01 03 02 04 ServiceComb项目是什么? ServiceComb的特点是什么? ServiceComb的最新进展? 如何加入到ServiceComb社区开发? 2018 Building Microservice NO.1 深圳站: Cloud Native 架构下的 K8S 和微服务实践 Microservice NO.1 深圳站: Cloud Native 架构下的 K8S 和微服务实践 ServiceComb的来源 SPO Cloud 核心网 Cloud Service Engine 2018 Building Microservice NO.1 深圳站: Cloud Native 架构下的 K8S 和微服务实践 ServiceComb项目介绍 • Java/Go0 码力 | 28 页 | 1.53 MB | 1 年前3ServiceComb在Service Mesh的探索与思考
Streamlines infrastructure such as K8s and VMs to support smooth migration from VMs to containers. Service Center K8s adaptor ETCD adaptor Service center adaptor Registry K8s K8s Service center Service Models/Services lifecycle management HTTPS Store models Store images Deploy services Create K8S Cluster for CCE OBS CCE ELB @EIP Internal HAProxy CCE Console CES IAM DCS UPredict Admin Admin (UPredict administrator) UPredict Customers (Models/Services administrator) Fetch images K8S cluster for UPredict UPredict VPC Actually deploy services Register services instances, heart-beating0 码力 | 21 页 | 8.32 MB | 1 年前3ServiceComb在Service Mesh的 探索与思考
- 支持多注册中心 - 拥抱混合云架构 - 同时支持客户端自注册与平台注册 - 打通k8s与虚机等基础设施,可实现VM向容器平滑迁移 Service Center k8s adaptor etcdadaptor Service center adaptor Registry k8s k8s Service center Service center etcd Huawei Confidential Models/Services lifecycle management HTTPS Store models Store images Deploy services Create K8S Cluster for CCE OBS CCE ELB @EIP Internal HAProxy CCE Console CES IAM DCS UPredict Admin (UPredict (UPredict administrator) UPredict Customers (Models/Services administrator) Fetch images K8S集群 for UPredict UPredict VPC Actually deploy services Register services instances, heart-beating based0 码力 | 21 页 | 8.48 MB | 1 年前3张波-虎牙直播在微服务改造中的实践
tcp、http、sql。支持自己构建健康检查器 客户端向服务端发送http心跳 负载均衡 支持 支持 手动上下线服务方式 通过控制台页面和API 通过调用API 跨中心同步 支持 不支持 k8s集成 支持 不支持 分组 Nacos可用根据业务和环境进行分组管理 不支持 权重 Nacos默认提供权重设置功能,调整承载流量压 力 不支持 厂商 阿里巴巴 Netflix 服务注册发现对比 • Dubbo生态产品, Nacos源于阿里内部服务的开源实现; • 支持各种生态环境, 支持k8s, spring cloud, dubbo, service mesh等集成; • 配置中心与注册中心原生打通; 落地的改造和升级 Nacos Sync • 接入TARS注册服务 • 对接K8S注册服务 • 解决多数据中心环形同步 DNS-F • DNS-F 增加对外部域名的预缓存支持;0 码力 | 27 页 | 1.03 MB | 1 年前3微服务架构实践-唯品会
PHP��! Sidecar! 101 ��Service Mesh�� 1 3 2 Linkerd����Service Mesh���2016� 1��Buoyant����������K8s� Docker���������������� ����� Envoy�2016�9��Lyft������� ������������C++����� ��������Istio��������� ������������� • ��� SOFA RPC�Dubbo ��� 104 Service Mesh�� 1 3 2 �����������Docker����� �������K8S�������� Service Mesh�������������� �������������������� ��� ���������Service Mesh� Sidecar��������������� �Istio��—DaemonSet VS SideCar Sidecar�in Pod�! Daemonset! ������! ����Pod���sidecar�������Pod��� ����K8s������������������� ��������������sidecar�������! ��������������� daemonset��! ����! ����Sidecar��������pod�������0 码力 | 120 页 | 82.16 MB | 1 年前3Metrics in ServiceComb Java Chassis 1.0.0-m1 让微服务运行状态清晰可见
Cloud …… SpringClou d SpringBoot Istio Apollo Skywalking Zipkin Prometheus Dubbo ServiceMesh K8S 对接行业解决方案 7 github.com/apache?q=servicecomb servicecomb.apache.org 社区胜于代码 community over code 16 github.com/apache?q=servicecomb servicecomb.apache.org Service Center Java Chassis 1.1.0 支持K8s部署 支持ServiceMesher 服务实例Cache优化支 持黑白名单 Service Center Java Chassis 1.0.0-m1 支持Dev开发模式 集成外部配置中心 Metrics0 码力 | 18 页 | 3.12 MB | 1 年前3Apache ServiceComb Introduction of Microservice Innovation Project
suche as Istio/Promethues/Skywalking/… - Compatible with heterogeneous infrastructure suche as K8S/BareMetal/docker/VM/… Mesher - Heterogeneous,multilingual,non-intrusive microservice framework [Website] changed, and the data structure cannot be changed easily. API Storage config map cache Backends K8s operator Consul operator dao config view manager config view selectors config maps Event producer0 码力 | 13 页 | 1.13 MB | 1 年前3Service Mesh的思考及在华为云的实践
Models/Services lifecycle management HTTPS Store models Store images Deploy services Create K8S Cluster for CCE OBS CCE ELB @EIP Internal HAProxy CCE Console CES IAM DCS UPredict Admin Admin (UPredict administrator) UPredict Customers (Models/Services administrator) Fetch images K8S集群 for UPredict UPredict VPC Actually deploy services Register services instances, heart-beating based0 码力 | 29 页 | 1.55 MB | 1 年前3Apache ServiceComb 微服务创新项目解读
https://github.com/apache/servicecomb-mesher • 开发计划 - 网关能力 - 融合生态 Istio/Promethues/Skywalking/… - 兼容异构基础设施 K8S/BareMetal/docker/VM/… [Website] http://servicecomb.apache.org [Github ] https://github.com/apache -不断增长的规则定义,越来越复杂,人类不可读。 -Key设计无法扩展变更,没法轻易变更数据结构 Kie - 语义型分布式系统配置中心 core API storage config map cache backends K8s operator Consul operator dao config view manager config view selectors config maps Event producer0 码力 | 13 页 | 1.24 MB | 1 年前3使用微服务架构快速开发万级TPS高可用电商系统
可以使用JMeter集群进行压测,不断调优,每台最高约1250 线程, 同时发请求。JMeter 需要调高 Xmx / Xms。 2. 需要迅速伸缩,用了docker-compose。 注意NAT的性能问题。 启发:不一定要K8s,Istio, 一定是需求驱动。 3. 设置一定的冗余,防止性能波动。 4. 配置重试,提高可用性。 5. 在压测状态,使用kill -9 模拟宕机,观察客户端异常情况。 组件 Login Customer-mangage 可以使用JMeter集群进行压测,不断调优,每台最高约1250 线程, 同时发请求。JMeter 需要调高 Xmx / Xms。 2. 需要迅速伸缩,用了docker-compose。 注意NAT的性能问题。 启发:不一定要K8s,Istio, 一定是需求驱动。 3. 设置一定的冗余,防止性能波动。 4. 配置重试,提高可用性。 5. 在压测状态,使用kill -9 模拟宕机,观察客户端异常情况。 组件 Login Customer-mangage0 码力 | 15 页 | 1.46 MB | 1 年前3
共 14 条
- 1
- 2