[erlang-questions] BERT vs protobuf in the erlang world

Mark Geib <>
Wed Aug 24 01:48:02 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have looked at that before, but the parsing of .proto files and
generating erlang code is marked as alpha - do not use in production.

Thanks,
Mark.



On 08/23/2011 05:41 PM, Kenny Stone wrote:
> This should be very high quality for protobuf/erlang:
> https://github.com/basho/erlang_protobuffs
>
> On Tue, Aug 23, 2011 at 6:38 PM, Mark Geib <
> <mailto:>> wrote:
>
>
> Any chance of sharing your erlang generator for protobuf.? We have
> been using protobuf with erlang for a while and F-I-I-I-ghting
> with the generation of erlang code for our protobufs. Or, a pointer
> to a quality generator some one else knows of would be
> appreciated.
>
> Mark.
>
> On 08/22/2011 06:57 PM, Jon Watte wrote:
>> We use protobuf; we wrote our own Erlang generator which is not
>> super efficient, but better than what was available at the
> time. We
>> use C++, Python, and PHP generators on other systems (we wrote
>> the PHP generator ourselves, too). Sorry, no feedback on the Java
>> and AS3 generators, but in the system as a whole, the protobufs
>> work just as expected, including preservation of unknown fields,
>> and because each 16-hardware-thread node (dual quad-core
> hyper-threaded
>> Xeons) only has gigabit Ethernet, we can't really feed a single
>> node faster than it can parse and process requests. Memory
>> bandwidth is 50 GB/s or better; Ethernet TCP bandwidth is 110
>> MB/s :-)
>
>> Sincerely,
>
>> jw
>
>
>> -- Americans might object: there is no way we would sacrifice
>> our living standards for the benefit of people in the rest of
>> the world. Nevertheless, whether we get there willingly or not,
>> we shall soon have lower consumption rates, because our present
>> rates are unsustainable.
>
>
>
>> On Mon, Aug 22, 2011 at 11:31 AM, Mike Oxford
> < <mailto:>
>> <mailto: <mailto:>>> wrote:
>
>> BERT is pretty much a "known good quantity" but protobuf is more
>> efficient on the wire.
>
>> Anyone have thoughts on which to go with?
>
>> Also, along the BERT side, does anyone have recommendations on
>> AS3 and Java implementations of the marshallers?
>
>> The downside(s) to protobuf - hard IDLs and you have to build
>> the project and generators. The downside(s) to BERT - less
> efficient on
>> the wire (verbosity.)
>
>> TIA!
>
>> -mox _______________________________________________
>> erlang-questions mailing list 
> <mailto:>
>> <mailto:
> <mailto:>>
>> http://erlang.org/mailman/listinfo/erlang-questions
>
>
>

_______________________________________________
erlang-questions mailing list
 <mailto:>
http://erlang.org/mailman/listinfo/erlang-questions



- -- 
Principal Engineer
Cheyenne Software Engineering
 / 35-215

PGP fingerprint:6DFC 389D 9796 0188 92E5 58F5 34C5 6B47 D091 76FD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5UPDIACgkQNMVrR9CRdv03lwCeMzF1BCwLaXjs2bYxlH7eKTty
16IAniDWTCVpGKMdU0jiWmS3FpfoOFc4
=W+PE
-----END PGP SIGNATURE-----





More information about the erlang-questions mailing list