Thanks Evan. Your response makes some things clear to me.
I meant to say I'd like chunks of 1MB ( I re-read my email and realize
it wasn't worded properly).

I now have some ideas that I'm going to try out.
Thanks again!



On Mar 4, 8:37 am, Evan Jones <ev...@mit.edu> wrote:
> On Mar 3, 2011, at 15:53 , Linus wrote:
>
> > I am wondering if there are any examples of chunking large PB messages
> > (about 1MB) into smaller chunks, to transmit over the wire.
>
> This is going to be pretty application specific. Typically it involves  
> taking one message with a huge repeated field and sending it / writing  
> it as a sequence of messages with fewer items for each repeated field.  
> So I can't really point you to any examples off the top of my head.
>
> That said: the documentation suggests keeping protocol buffers to be ~  
> <1 MB in size, so if your messages are 1 MB, I personally wouldn't  
> worry about it. Hope this helps,
>
> Evan
>
> --http://evanjones.ca/

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to