后端 - grpc为什么使用http/2而不直接使用tcp?

 

问题描述:

追求性能是吗?为啥不直接用tcp?
还是说本身想作为 web server?


 

第 1 个答案:

Google wanted to write mobile SDKs once and generate code for other programming languages. It does offer a lot of its products SDKs via gRPC.

Since it targets mobile/ desktop there was no need to change the communication layer that's build over http.


react中,什么是原子状态管理?为何需要原子状态管理?我们知道zustand这个状态管理插件已经很好了,请问为何还需要jotai这样的状态管理插件呢?