RPC Olympics – The Search for the Perfect RPC Protocol
perimeterx.com
RPC Olympics – The Search for the Perfect RPC Protocol
1–10 of 71 posts
Re: RPC Olympics – The Search for the Perfect RPC Protocol
#2Re: RPC Olympics – The Search for the Perfect RPC Protocol
#3This is just as bad as front-end web dev!
Re: RPC Olympics – The Search for the Perfect RPC Protocol
#4The main benefit was we could suddenly reuse all the codegenerated routers/docs/authentication from the HTTP ecosystem. It significantly simplified/standardised our IPC layer and reduced the "weirdness" in the codebase.
Re: RPC Olympics – The Search for the Perfect RPC Protocol
#5Re: RPC Olympics – The Search for the Perfect RPC Protocol
#6No mention of authentication or encryption? I can’t believe that everyone is either using HTTPS with either client certificates or plain HTTP authentication, or using IPsec (or some form of IP tunneling) to make encryption transparent to the application.
Re: RPC Olympics – The Search for the Perfect RPC Protocol
#7Re: RPC Olympics – The Search for the Perfect RPC Protocol
#8Strong recommendation for ZeroMQ as well. It's a thin layer on TCP, is very fast, offers bindings in many languages, and is fairly flexible as well. https://zeromq.org/
Re: RPC Olympics – The Search for the Perfect RPC Protocol
#9Re: RPC Olympics – The Search for the Perfect RPC Protocol
#10If the channel is marked as persisting, I put the message to a hashset with current nanosecond as the timestamp and just send a ping instead.
It is pretty fast with asyncio redis client clocking at an avg 15k rpc/s on a single core with uvloop on a lowly i7