Common Protocols

发布时间 2023-09-19 14:05:51作者: ZhangZhihuiAAA

Common protocols that handle exchanging data between client and serverapplications:
• HTTP protocol: This is more of a text-based protocol and is considered one of the oldest and most mature technology as compared to the rest of the ones in the list. Essentially, many companies still operate on this, but they will follow particular frameworks of message/data exchange—namely, SOAP and REST. 
• GRPC protocol: This is a binary protocol that kind of arose from Google. This protocol is partly built for reducing the amount of network resources required to transmit and receive data between applications. The GRPC protocol definitely helps, especially in cases where companies migrate to use microservices (essentially, many small server applications talking to each other) in order to improve development velocity, and using GRPC definitely help reduce the network load.
• Thrift protocol: This is also another binary protocol that is one of the alternatives where the whole microservices paradigm came about. This protocol kind of came up slightly earlier before GRPC and was used in the same fashion/use case as GRPC.