[protobuf] Size of string Message not reducing even after serializing with Protocolbuffer

2014-05-16 Thread Ratheesh R
Hello Experts, I am new to this Protocol buffer techinque.I am trying to use PB in my project because my project is critical to the data transfer rate(Battery power). So I am trying to use PB to serialize data (in binary mode) to reduce the data size before transferring this data to the

[protobuf] Re: zeromq, protobuf rpc

2014-05-16 Thread Alexandru Toader
Hello, I am interested in using the same setup. Has anyone found any maintained plugin that supports RPC over ZeroMQ? Alex On Tuesday, January 8, 2013 12:10:49 AM UTC+1, Mohit Jaggi wrote: Hi, According to ProtoBuf docs, the rpc service code generation is deprecated and use of plugins is

[protobuf] What causes TargetInvocationException during serialization

2014-05-16 Thread Marco P.
I am trying to serialize something like this (i'll summarize as the object is more complex): class Anag { } System.Reflection.TargetInvocationException was unhandled Message=TargetInvocationException StackTrace: at System.Reflection.RuntimePropertyInfo.GetValue() at

Re: [protobuf] Size of string Message not reducing even after serializing with Protocolbuffer

2014-05-16 Thread Ilia Mirkin
Can you elaborate a bit on the before scenario? (i.e. exactly what are you comparing protobuf to?) Protobuf adds overhead to data (in order to tell which field is which, etc), and does nothing for reducing the sizes of strings. (Integers are usually varint-encoded, so if they're small, they'll

Re: [protobuf] What causes TargetInvocationException during serialization

2014-05-16 Thread Marc Gravell
Oops, meant to reply-all! On 16 May 2014 19:34, Marc Gravell marc.grav...@gmail.com wrote: This is specifically protobuf-net; I have received a repro case from Marco separately via email, so I will investigate and post back here and directly, but short version don't know off the top of my