Compare gRPC services with HTTP APIs
Use Binary Encoding Instead of JSON
高效的数据压缩编码方式 Protobuf
HTTP/2 and gRPC — The Next Generation of Microservices Interactions
Compare gRPC services with HTTP APIs
Comparing API Architectural Styles: SOAP vs REST vs GraphQL vs RPC
RPC vs REST
RPC
protobuf教程(二)—核心编码原理
Encoding
Schema evolution in Avro, Protocol Buffers and Thrift
Protobuf vs JSON
gRPC Name Resolution
Load Balancing in gRPC
what: remote procedure call, used for communicate.
分辨率 像素为基本单位 1920 * 1080 : 横向 1920 纵向 1080像素
K 横向有几个 1000 像素 1k: 1920x1080 2k: 2560x1440 4K: 3840x2160
Nacos 架构
what: 轻量级的数据库,存储非业务相关数据,基于数据库,git实现
store data example:
db url, password jwt token 为什么需要:
实时更新 统一管理: 特别是在微服务场景 高级功能 core function:
实时更新: monitor
多环境配置
权限控制
版本管理:
version history 回滚 灰度发布 web管理后台
the types:
custom nacos apolo custom:
1 2 3 4 5 // 1. put config in db or github // 2. 轮训 every n minutes: select data from db; list spring cloud config Disconf apollo nacos space:
namespace: a set of group group: a group of config dataid: a detail config pros:
format action:
1 editor.formatOnSave: true how it work
1 2 if file.save == true: formatTools(file, formatConfigure) default format configure for js
1 2 "javascript.format.indentStyle": "space", "javascript.format.indentSize": 2, "javascript.format.insertSpaceAfterConstructor": false, ..... vscode don’t provide default format for all languate, you must
install extention custom the configure if need js format: use prettier, tabsize6
1 2 3 4 5 "javascript.format.defaultFormatter": "esbenp.prettier-vscode", "[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.tabSize": 6 } go foramt: use goimports, tabsize6, linewidth 120
[https://www.zhihu.com/question/57695465/answer/440467918](对于电脑散热方式,风冷和水冷哪种好? - 浮梁卖茶人的回答 - 知乎)
Create a Windows 10 Bootable USB Drive on Mac | 2021 Edition
mother board cpu
brigde(chipest)
bridge bus: connect componet pcie, heat sink for what? 降低cpu,gpu… 等温度
main part
导热: 铜, 铜柱, 水管 散热: 铝片+风扇 types
air cooler:(heatsink & fan, hfs) liquid cooler air cooler feauter
pros: low price cons: more space air cooler types 塔式: big 下压式: small how air cooler work transfer the heat to the heatsink: copper or copper pipe(include water) the fan push the hot air away how liquid cooler work?
move gg/G: jump to top of content 0/$: the begin of the line 5gg: jump to line 5 edit i/a: insert befor(after)current cursor position o,O: insert below(above) current cursor r/R: replace current character/ repace until esc s/S: delte current character/line and start insert [5]dd dG: delte from current line to last :1,4d,delet D: delte to the end of line undo, redo undo: u redo: ctrl + r
mode insert: i normal : excute command; switch into other mode; p(P): paste the character after(before) current cursor; visual: select characters; v: select mutiple characters V: select mutiple lines;