Re: where are the examples

2009-07-01 Thread Kenton Varda
We have our own system. While we would love to open source it in principle, it is currently tightly coupled to our internal datacenter and machine configurations, so we can't really release the code as-is. I personally hope that we manage to get it out eventually but I have no idea if or when it

Re: where are the examples

2009-07-01 Thread Alek Storm
Google uses its own internal RPC implementation, and I don't think we can endorse a particular third-party one as better than the others. I'd tell you which one I personally found most beneficial, but I have no experience with any of them. Cheers, Alek On Wed, Jul 1, 2009 at 10:18 AM, J.V. wrot

Re: where are the examples

2009-07-01 Thread J.V.
thanks, which product(s) does Google use internally or find most beneficial? Kenton Varda wrote: > You could look at one of the open source RPC implementations listed here: > > http://code.google.com/p/protobuf/wiki/ThirdPartyAddOns#RPC_Implementations > --~--~-~--~~~

Re: where are the examples

2009-06-30 Thread Kenton Varda
You could look at one of the open source RPC implementations listed here: http://code.google.com/p/protobuf/wiki/ThirdPartyAddOns#RPC_Implementations Network communication is non-trivial. Trying to demonstrate it with an example would make for a very big example of which only a few lines of code

Re: where are the examples

2009-06-30 Thread Monty Taylor
We use protobuf in Drizzle as a mechanism to serialize information into files on disk. We are also send some of the messages over the network - depending on what it is. If you need a transport mechanism, I suggest checking out setting up a gearman server (https://edge.launchpad.net/gearmand/+down

Re: where are the examples

2009-06-30 Thread JavaSrvcs
I can't imagine any other use than using it to send data over the network and use on the other end. In fact is this not what it was invented for (communication). On 30 jun, 16:07, Kenton Varda wrote: > There are tons of resources on the internet and in books explaining how to > do network progra

Re: where are the examples

2009-06-30 Thread Kenton Varda
There are tons of resources on the internet and in books explaining how to do network programming in Java. Sorry, but this is really outside the scope of protocol buffers. On Tue, Jun 30, 2009 at 2:46 PM, JavaSrvcs wrote: > > Is there a full compilable example (in Java) on how to do this ? > Wh

Re: where are the examples

2009-06-30 Thread JavaSrvcs
Is there a full compilable example (in Java) on how to do this ? What sort of service would I need to be running on a server to send data (and have the server receive and convert the flat byte array into a Java object). On Jun 30, 2:32 pm, Kenton Varda wrote: > Protocol Buffers provides a way to

Re: where are the examples

2009-06-30 Thread Kenton Varda
Protocol Buffers provides a way to convert between flat byte arrays and structured data. This is obviously useful for network communication, but protocol buffers does not provide any explicit networking support. It's up to you to take the byte array generated by protocol buffers and send it over

where are the examples

2009-06-30 Thread JavaSrvcs
I was led to believe that protocol buffers could be used for PC to PC communication, is there a way to do this, and if so, where can I find the examples? The example I am looking at provided writes to a file. --~--~-~--~~~---~--~~ You received this message because