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

Mark Geib mark.geib@REDACTED
Wed Aug 24 01:48:02 CEST 2011

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.


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 <mark.geib@REDACTED
> <mailto:mark.geib@REDACTED>> 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
> <moxford@REDACTED <mailto:moxford@REDACTED>
>> <mailto:moxford@REDACTED <mailto:moxford@REDACTED>>> 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 erlang-questions@REDACTED
> <mailto:erlang-questions@REDACTED>
>> <mailto:erlang-questions@REDACTED
> <mailto:erlang-questions@REDACTED>>
>> http://erlang.org/mailman/listinfo/erlang-questions

erlang-questions mailing list
erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>

- -- 
Principal Engineer
Cheyenne Software Engineering
mark.geib@REDACTED / 35-215

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


More information about the erlang-questions mailing list