[erlang-questions] Looking for a stable Protocol Buffers implementation.

225 views
Skip to first unread message

Alex Arnon

unread,
Feb 26, 2012, 4:15:33 AM2/26/12
to Erlang Questions
Hi All,

I am looking for a production-ready Protocol Buffers implementation for Erlang. Which is recommended?

Cheers,
Alex.

Jack Moffitt

unread,
Feb 26, 2012, 7:02:14 AM2/26/12
to Alex Arnon, Erlang Questions
> I am looking for a production-ready Protocol Buffers implementation for
> Erlang. Which is recommended?

I'd probably use the one that Riak uses:
http://github.com/basho/erlang_protobuffs

jack.
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Alex Arnon

unread,
Feb 26, 2012, 8:15:23 AM2/26/12
to Jack Moffitt, Erlang Questions
This bit in the readme has me worried:

"Support for parsing proto files and creating code from it is volatile and should be considered alpha software at best. Please do not use this in production."

Outdated doc...?

Sent from my iPhone

Alex

unread,
Feb 26, 2012, 8:17:17 AM2/26/12
to Alex Arnon, Erlang Questions
Hi,

You can try Piqi: http://piqi.org/

Regards,
Alex

Matthew Evans

unread,
Feb 26, 2012, 9:02:28 AM2/26/12
to xtzg...@gmail.com, alex....@gmail.com, erlang-q...@erlang.org
Most of Basho's proto file handling works, but a few things don't.

Another option that I am using with great success is Apache's Thrift. It was originally built by Facebook. The good thing with Thrift is that Erlang is an officially supported language.

http://thrift.apache.org/

You can even implement entire services in a language neutral way.

> Date: Sun, 26 Feb 2012 14:17:17 +0100
> From: xtzg...@gmail.com
> To: alex....@gmail.com
> CC: erlang-q...@erlang.org
> Subject: Re: [erlang-questions] Looking for a stable Protocol Buffers implementation.

Anthony Molinaro

unread,
Feb 26, 2012, 11:33:30 AM2/26/12
to Alex Arnon, Jack Moffitt, Erlang Questions
Yeah that's been there since the parser was hand rolled.  It's since been replaced with a leex and yecc based parser.  And I can definitely vouch for its use in production.  I've used it in a B2B application with about 30 different partners for about 2 years, probably totaling a couple trillion requests.

-Anthony
_______________________________________________

Alex Arnon

unread,
Feb 26, 2012, 11:40:12 AM2/26/12
to Matthew Evans, <erlang-questions@erlang.org>
Thanks guys, I'll try the Basho implementation, and look into thrift.

Sent from my iPhone

Alex Arnon

unread,
Feb 26, 2012, 2:31:35 PM2/26/12
to Anthony Molinaro, Jack Moffitt, Erlang Questions
Great, thanks!!!

Sent from my iPhone
Reply all
Reply to author
Forward
0 new messages