使用docker运行集群 参考 Install Elasticsearch with Docker | Elasticsearch Guide [8.12] | Elasti...
![240](https://cdn2.jianshu.io/assets/default_avatar/3-9a2bcc21a5d89e21dafc73b39dc5f582.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
使用docker运行集群 参考 Install Elasticsearch with Docker | Elasticsearch Guide [8.12] | Elasti...
说明 采用的mongo版版本: v4.4 install: https://www.mongodb.com/docs/v4.4/tutorial/install-mongod...
使用端口 redis cluster默认使用2个接口,6379用于处理客户端请求, *cluster bus port默认在数据端口上加10000,也可以用cluster-p...
授权码(authorization code)方式,指的是第三方应用先申请一个授权码,然后再用该码获取令牌。 这种方式是最常用的流程,安全性也最高,它适用于那些有后端的 We...
说明 采用的mongo版版本: v4.4 mongo install 这里选择在debian10系统上,下载.tgz包安装主要参考文档:https://www.mongodb...
mongodb的时间 mongodb存储的时间统一为ISODate下面无论哪种形式,自重的结果都是ISODate pymongo pymongo使用datetime.date...
说明 因为tornado最新的版本主要推荐使用asyncio async await, 而这篇文章主要探讨早期tornado如何使用generator实现coroutine...
A Simple Message 看一个简单的message 创建Test1对象,并给a赋值150,编码的结果如下3个字节: 使用Protoscope工具导出,会是1:150...
raft的特性是易于理解, raft主要做了2方面的事情 问题分解: 把共识算法分为三个子问题,分别是领导者选举(leader election), 日志复制(log rep...
github地址 https://github.com/laobaox/redis-limiter[https://github.com/laobaox/redis-limi...
概述 grpc相比restful,protobuf很好的对接口定义进行了描述,可以直接拿来做为接口文档proto文件理论上可以使用工具生成更友好的文档,目前看到的工具包括: ...
概述 istio的熔断/限流基于DestinationRule -〉trafficPolicy下的2个配置: connectionPool 限定并发 outlierDete...
默认istio不会监控调用到网格外的服务/接口,必须使用ServiceEntry把外部服务加入到istio内部的service registry,把外部服务建模为istio内...
根据gateway的文档, gw资源和 ingress gateway app 必须处在相同的nsimage.png 根据 https://istio.io/docs/ops...
先看google cloud的api设计指南 https://cloud.google.com/apis/design/directory_structure[https:/...
推荐2篇blog,对于理解restful很有帮助 https://www.ruanyifeng.com/blog/2011/09/restful.html[https://w...
概述 python grpc拦截器的proposal:https://github.com/grpc/proposal/blob/master/L13-python-inte...
概述 根据google cloud的API设计指南:对比rest api和rpc: 2010 年,大约 74% 的公共网络 API 是 HTTP REST,虽然 HTTP/J...
Standard error model 概述 grpc调用执行成功,会返回OK(code=0)给客户端当发生错误时,grpc返回一个错误状态码,再加上一个message,在...