[infinispan-dev] Implementing Hot Rod using Google Protocol Buffers?

Manik Surtani manik at jboss.org
Thu Jan 14 10:32:32 EST 2010


On 14 Jan 2010, at 15:26, Galder Zamarreno wrote:

> 
> 
> On 01/13/2010 03:32 PM, Manik Surtani wrote:
>> Are you referring to using protobufs as an alternate to the Marshalling framework for marshalling user data, or for implementing the commands, etc. of the protocol?
> 
> The latter, as a way to implement the protocol itself using .proto files 
> and generating the corresponding client/server classes.
> 
> Clearly, if we're to use those generated classes, they'd be abstracting 
> us from the lower level details and quite possible the marshalling itself.

It would certainly add overhead to the protocol, but I suppose it is negligible when compared to the network latency, etc.  Plus it may help people write more clients.

> 
>> 
>> 
>> On 13 Jan 2010, at 11:30, Galder Zamarreno wrote:
>> 
>>> Hi,
>>> 
>>> In a previous email, Bela suggested having a look at Google Protocol
>>> Buffers for implementing Hot Rod.
>>> 
>>> I had a brief look at Google Protocol Buffers and at first glance, the
>>> most obvious advantage is that it abstract the lower level protocol
>>> details and generate higher level code in different languages: Java,
>>> C++, Python.
>>> 
>>> Another thing I've noted is that it does seem to handle different
>>> versions of the protocol in a transparent way, as indicated in "A bit of
>>> history" section in
>>> http://code.google.com/apis/protocolbuffers/docs/overview.html
>>> 
>>> Once we're all happy with the protocol itself, I think it might be worth
>>> doing a small prototype for example with a put operation and an a
>>> cluster formation event and see how it works.
>>> 
>>> What do people think? Anyone with Google Protocol Buffers experience
>>> that could provide us with 1st hand advice?
>>> 
>>> Cheers,
>>> --
>>> Galder Zamarreño
>>> Sr. Software Engineer
>>> Infinispan, JBoss Cache
>>> _______________________________________________
>>> infinispan-dev mailing list
>>> infinispan-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>> 
>> --
>> Manik Surtani
>> manik at jboss.org
>> Lead, Infinispan
>> Lead, JBoss Cache
>> http://www.infinispan.org
>> http://www.jbosscache.org
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> 
> -- 
> Galder Zamarreño
> Sr. Software Engineer
> Infinispan, JBoss Cache
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org








More information about the infinispan-dev mailing list