石墨文档Go在K8S上微服务的实践-彭友顺• 调试gRPC • 调试信息 • 错误定位 问题:每种开源组件的配置、调用方式、debug方式、记录日志方式都不一样 微服务的开发阶段 问题:gRPC未设置连接错误,阻塞模式报错不正确 Redis、MySQL连接数配置未设置?超时未设置? 配置 对接 Debug • 配置驱动 • 配置补齐 • 配置工具 • Proto的管理 • 错误码管理 • 调试gRPC • 调试信息 资源信息 配置 对接 Debug • 配置驱动 • 配置补齐 • 配置工具 • Proto的管理 • 错误码管理 • 调试gRPC • 调试信息 • 错误定位 配置版本,发布,回滚,可以更加方便 微服务的开发阶段 统一采用gRPC协议和protobuf编解码 CI check 阶段 • 主要做 pb 的 format、lint、breaking 检查。 CI build get 客户端、服务端的gRPC和错误码的代码 配置 对接 Debug • 配置驱动 • 配置补齐 • 配置工具 • Proto的管理 • 错误码管理 • 调试gRPC • 调试信息 • 错误定位 微服务的开发阶段 配置 对接 Debug • 配置驱动 • 配置补齐 • 配置工具 • Proto的管理 • 错误码管理 • 调试gRPC • 调试信息 • 错误定位0 码力 | 41 页 | 3.20 MB | 1 年前3
Dapr june 2023 fuzzing audit reportcom/dapr/dapr/pkg/grpc 30 FuzzInvokeService github.com/dapr/dapr/pkg/grpc 31 FuzzBulkPublishEventAlpha1 github.com/dapr/dapr/pkg/grpc 32 FuzzStateEndpoints github.com/dapr/dapr/pkg/grpc 33 FuzzActorEndpoints FuzzActorEndpoints github.com/dapr/dapr/pkg/grpc 34 FuzzGetConfiguration github.com/dapr/dapr/pkg/grpc 35 FuzzDubboSerialization github.com/dapr/components-contrib/bindings/dubbo 36 FuzzAddTopic github.com/d 29: FuzzPublishEvent Tests the PublishEvent() GRPC endpoint with a request body specified by the fuzzer. 30: FuzzInvokeService Tests the InvokeService() GRPC endpoint with a request body specified by the0 码力 | 19 页 | 690.59 KB | 1 年前3
BAETYL 1.0.0 DocumentationProvides a GRPC micro-service that loads Python scripts based on Python2.7 runtime that can be managed by baetyl-function- manager as a function instance provider. baetyl-function-python36: Provides a GRPC micro-service managed by baetyl-function- manager as a function instance provider. baetyl-function-node85: Provides a GRPC micro-service that loads javascripts based on Node8.5 runtime that can be managed by baetyl-function-manager use for filtering, converting and forwarding messages. This module can be started separately as a GRPC service or as a function instance provider for the function manager module. The input and output0 码力 | 135 页 | 15.44 MB | 1 年前3
BAETYL 1.0.0 Documentationinstance management and message-triggered function calls. • baetyl-function-python27: Provides a GRPC micro-service that loads Python scripts based on Python2.7 runtime that can be managed by baetyl-function-manager Provides a GRPC micro-service that loads Python scripts based on Python3.6 runtime that can be managed by baetyl-function-manager as a function instance provider. • baetyl-function-node85: Provides a GRPC micro-service use for filtering, converting and forwarding messages. This module can be started separately as a GRPC service or as a function instance provider for the function manager module. The input and output0 码力 | 145 页 | 9.31 MB | 1 年前3
BAETYL 0.1.6 DocumentationProvides a GRPC micro-service that loads Python scripts based on Python2.7 runtime that can be managed by baetyl-function- manager as a function instance provider. baetyl-function-python36: Provides a GRPC micro-service managed by baetyl-function- manager as a function instance provider. baetyl-function-node85: Provides a GRPC micro-service that loads javascripts based on Node8.5 runtime that can be managed by baetyl-function-manager use for filtering, converting and forwarding messages. This module can be started separately as a GRPC service or as a function instance provider for the function manager module. The input and output0 码力 | 119 页 | 11.46 MB | 1 年前3
OpenShift Container Platform 4.14 分布式追踪修复 在此次更新之前,因为 jaeger-query 部署中缺少一个 gRPC 端口,连接会被拒绝。此问题会导致 transport: Error while dialing: dial tcp :16685: connect: connection refused 错误信息。在 这个版本中,Jaeger Query gRPC 端口 (16685) 可以在 Jaeger Query 服务上成功公开。 在此次更新之前,为 jaeger-production-query 公开的端口是错误的,并导致连接被拒绝。在这 个版本中,这个问题已通过在 Jaeger Query 部署上公开 Jaeger Query gRPC 端口(16685) 被解 决。(TRACING-2968) 在此次更新之前,当在断开连接的环境中的单节点 OpenShift 集群上部署 Service Mesh 时,Jaeger pod 会经常进入 ingestion 协议:Jaeger Thrift 二进制、Jaeger Thrift compact、Jaeger gRPC 和 Zipkin。启用网关时,只启用 OpenTelemetry 协议 (OTLP) gRPC。 在 Query Frontend 服务上公开 Jaeger Query gRPC 端点。 支持没有网关身份验证和授权的多租户。 1.4.4.2. 程序 程序错误 错误修复 修复 在此次更新之前,Tempo0 码力 | 100 页 | 928.24 KB | 1 年前3
OpenShift Container Platform 4.14 OperatorOperatorHub 页面查看集群中已启用的目录源提供的 Operator 的完整列表。 CatalogSource 的 spec 指明了如何构造 pod,以及如何与服务于 Operator Registry gRPC API 的服务 进行通信。 例 例 2.8. CatalogSource 对象示例 象示例 apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource quay.io/example-org/example-catalog:v1 5 priority: -400 6 publisher: Example Org sourceType: grpc 7 grpcPodConfig: securityContextConfig:8 nodeSelector: 9 custom_label: 2021-08-26T18:46:25Z 14 registryService: 15 createdAt: 2021-08-26T16:16:37Z port: 50051 protocol: grpc serviceName: example-catalog serviceNamespace: openshift-marketplace 第 第 2 章 章 了解 了解 OPERATOR 0 码力 | 423 页 | 4.26 MB | 1 年前3
BAETYL 0.1.6 Documentationinstance management and message-triggered function calls. • baetyl-function-python27: Provides a GRPC micro-service that loads Python scripts based on Python2.7 runtime that can be managed by baetyl-function-manager Provides a GRPC micro-service that loads Python scripts based on Python3.6 runtime that can be managed by baetyl-function-manager as a function instance provider. • baetyl-function-node85: Provides a GRPC micro-service use for filtering, converting and forwarding messages. This module can be started separately as a GRPC service or as a function instance provider for the function manager module. The input and output0 码力 | 120 页 | 7.27 MB | 1 年前3
API7 ⽹关技术⽩⽪书践 经验,使得API7可以轻松⽀持毫秒级配置更新、⽀撑数千⽹关节点;⽹关节点⽆状态,可任意扩容或 缩容; 协议转换 3. ⽀持丰富的协议类型,如TCP/UDP、Dubbo、MQTT、gRPC、SOAP、WebSocket等; 安全防护 4. 内置多种⾝份验证与安全防护能⼒,如BasicAuth、JSONWebToken、IP⿊⽩名单、OAuth等; 性能极⾼ 5 也⽀持服务发现与多种注册中⼼,并有能⼒根据请求中Header、Query、Cookie等参数进⾏分 流; • 协议转换:API7⽀持丰富的协议,如TCP/UDP、Dubbo、MQTT、gRPC、WebSocket等,并能 够实现HTTP协议到后端服务其它协议的转换。API⽹关对外暴露统⼀HTTP⼊⼝,管理员可通过 控制台界⾯完成协议转换设置,⽀持请求与后端服务的参数映射; ✔ ✔ ✔ ✔ MQTT ✔ ✖ ✖ ✖ ✖ TCP ✔ ✔ ✖ ✔ ✖ UDP ✔ ✔ ✖ ✔ ✖ HTTPgRPC/Dubbo协议转换 ✔ ✔ ✖ ✖ ✖ Websocket ✔ ✔ ✔ ✔ ✔ Dubbo ✔ ✖ ✖ ✖ ✖ ⾃定义四层、七层协议0 码力 | 19 页 | 1.12 MB | 1 年前3
Service Mesh Meetup #3 深圳站器实例将处于空闲状态,所以 Kubernetes Service 不太适合 gRPC 负 载均衡。—摘自:http://www.k8smeetup.com/article/N1yW3gPNXgRPC LoadBalancing • gRPC 负载均衡的文档: https://github.com/grpc/grpc/blob/master/doc/load-balancing.md • 解决办法:https://github 解决办法:https://github.com/jtattermusch/grpc-loadbalancing- kubernetes-examples什么是 ServiceMesh • 服务网格(Service Mesh)这个术语通常用于描述构成这些应用程序 的微服务网络以及应用之间的交互。随着规模和复杂性的增长,服 务网格越来越难以理解和管理。 • 它的需求包括服务发现、负载均衡、故障恢复、指标收集和监控以 想要让服务支持 Istio,只需要在您的环境中部署一个特殊的 sidecar 代理,使用 Istio 控制平面功能配置和管理代理,拦截微服务之间的 所有网络通信。Istio 的特点 • HTTP、gRPC、WebSocket 和 TCP 流量的自动负载均衡。 • 通过丰富的路由规则、重试、故障转移和故障注入,可以对流量行 为进行细粒度控制。 • 可插入的策略层和配置 API,支持访问控制、速率限制和配额。0 码力 | 45 页 | 18.62 MB | 6 月前3
共 82 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













