Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RPC frameworks available?

I am looking to use a RPC framework for internal use. The framework has to be cross language. I am exploring Apache Thrift right now. Google protocol Buffers does not provide RPC capabilities exactly. What are the choices I have got apart from Thrift. (my servers will be primarily Java and the clients will be Java, Python, PHP).

like image 335
sheki Avatar asked Sep 02 '10 07:09

sheki


People also ask

What is a RPC framework?

gRPC is a modern open source high performance Remote Procedure Call (RPC) framework that can run in any environment. It can efficiently connect services in and across data centers with pluggable support for load balancing, tracing, health checking and authentication.

What is difference between gRPC and RPC?

gRPC is a framework that uses RPC to communicate. RPC is not Protobuf but instead Protobuf can use RPC and gRPC is actually Protobuf over RPC. You don't need to use Protobuf to create RPC services within your app. This is a good idea if you are doing libraries/apps from small to medium size.

What is RPC example?

Examples of RPC configurations include the following: The normal method of operation where the client makes a call and doesn't continue until the server returns the reply. The client makes a call and continues with its own processing. The server doesn't reply.

What are RPC services?

Remote Procedure Call (RPC) is a mechanism that allows Windows processes to communicate, either between a client and server across a network or within a single computer. Numerous integrated Windows components use RPC.


2 Answers

There is also MessagePack which claims to be faster than Protocol Buffers and have more features than Thrift.

like image 197
sheki Avatar answered Oct 20 '22 14:10

sheki


I would look at REST as a first option because it is ubiquitous and no-nonsense.

If performance and representation really needs to be compact, I have heard good things about Apache AVRO and my fingers are twitching to try it out in anger.

like image 39
Peter Tillemans Avatar answered Oct 20 '22 13:10

Peter Tillemans