gRPC-Gateway 简介 我们都知道 gRPC 并不是万能的工具。 在某些情况下,我们仍然想提供传统的 HTTP/JSON API。原因可能从保持向后兼容性到支持编程语言或 gRPC 无法很好地支持的客户端。但是仅仅为了公开 HTTP/JSON API 而编写另一个服务是一项非常耗时且乏味的任 ...
win10 anaconda tensorflow gpu openpose done # # To activate this environment, use # # $ conda activate wind_202102 # # To deactivate an active environ ...
Some people hear their own inner voices with great clearness. And they live by what they hear.Such people become crazy,or they become legends ...... 有 ...
分类:
其他好文 时间:
2021-03-10 13:21:51
阅读次数:
0
1 消息队列 1 两个服务调用:restful(http协议),rpc(远程过程调用) 2 rpc:远程过程调用 -gRPC:谷歌出的,跨语言 3 不管用rpc或者restful来通信,涉及到同步,异步 4 消息队列解决的问题 -应用解耦 -流量消峰 -消息分发(发布订阅:观察者模式) -异步消息( ...
分类:
其他好文 时间:
2021-03-05 13:13:49
阅读次数:
0
1. Grpc 是什么? Google RPC A high-performance, open source universal RPC framework 官方地址:https://www.grpc.io/ Grpc 开始是由google 开发的,是一款语言中立、平台中立、开源的远程调用(RPC ...
参考资料 grpc name resolver原理及实践: https://mp.weixin.qq.com/s?__biz=MzA4ODg0NDkzOA==&mid=2247487040&idx=1&sn=35e54214535da2f2203de2b7f09010d1&source=41#wec ...
分类:
其他好文 时间:
2021-02-19 13:41:22
阅读次数:
0
安装 k3s https://docs.rancher.cn/docs/k3s/quick-start/_index/ istio https://www.jianshu.com/p/db7c7f241716 使用 安装删除资源 kubectl delete -f aspnetcore-virtua ...
分类:
其他好文 时间:
2021-02-18 12:57:33
阅读次数:
0
Gome 高性能撮合引擎微服务 使用 Golang 做计算,gRPC 做服务,ProtoBuf 做数据交换,RabbitMQ 做队列,Redis 做缓存实现的高性能撮合引擎微服务 依赖 具体依赖信息可以查看 docker-composer 文件 快速开始 使用 docker 一键部署运行环境,进入 ...
分类:
其他好文 时间:
2021-02-09 12:23:08
阅读次数:
0
gRPC Load Balancing 翻译自:https://grpc.io/blog/grpc-load-balancing/ 这是gRPC负载均衡的第一篇,后续会给出基于golang XDS服务发现的例子,了解golang XDS的工作原理。 本文描述了在部署gRPC时可能会采用的几种负载均衡 ...
分类:
其他好文 时间:
2021-01-28 11:37:53
阅读次数:
0
client.go:9:2: cannot find module providing package google.golang.org/grpc: working directory is not part of a module 因为开启mod模式了export GO111MODULE=aut ...
分类:
其他好文 时间:
2021-01-26 12:04:45
阅读次数:
0