On 09/17/2010 10:26 AM, guillaume wrote:

Hi,

I'm wondering which is the best manner in term of performance to serialize a
C++ class to be sent to qpid

1- using qpid encode function and Map (each member of c++ class would have
an entry in the map)
2- using google protocol buffer

I don't know what the relative performance might be to be honest; why don't you try it out and report your findings?

One other difference is that the map encoding is self-describing whereas google protocol buffers use a schema to infer the structure.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to