Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find a RPC which implemented with: boost + protobuf

Are there any RPC framework implemented with: boost + protobuf? And it has a protobuf plugin can be used to generate RPC code for the framework.
Or there are some open source implementations I can refer to, please tell me.
Thanks.

like image 730
Huang F. Lei Avatar asked Feb 24 '11 05:02

Huang F. Lei


2 Answers

I recently find through a SO question that there is one : RCF (Remote Call Framework)

It seems it can use boost.asio and protocol buffers. I have not used it myself.

my2c

like image 108
neuro Avatar answered Oct 17 '22 18:10

neuro


That's exactly what one of my colleges had to build in a proprietary project (with a couple of extra cool stuff), so I can share his expert advise.

He believe you're out of luck and won't find that combo online...

However, if you're not in needed of a the specific format used by Protobuffs you can use Thrift.
Thrift is a product of a Facebook employee who once worked in Google, so its very similar to Protobuffs, and the main difference is exactly what you asked for- Internal implementation using Boost, and a built-in support for RPC transport layers and services.
The only problem is that currently there is no port of Thrift for Windows, but it works great for Linux. Also you can check Protobuffs' Service option it doesn't give a lot but its a good place to start.

Best of luck!

like image 25
Uri Cohen Avatar answered Oct 17 '22 18:10

Uri Cohen