Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Fastest serialization in .net - protocol buffers?

Options
  • 12-04-2010 4:47am
    #1
    Closed Accounts Posts: 5,284 ✭✭✭


    Protocol buffers is a serialization format used by Google, which they released as open source in 2008. It's supposed to be extremely fast.
    I came across two implementations of this in .net; shown below:

    http://code.google.com/p/protobuf-csharp-port/
    http://code.google.com/p/protobuf-net/wiki/Performance

    Has anyone experience with these? - Protcol buffers in general or using them with .net specifically? Any thoughts? The benchmarks listed on one of the project wikis suggest extremely strong performance.

    Are there any other formats or approaches people have found good for optimizing communication speed? I've seen a couple of paid services that make strong claims also.

    Generally speaking, can sockets be made significantly faster than webservices? - Are they only significantly faster when the server needs to push data to the client?

    My specific context is that I have a Silverlight application that uses standard simplex wcf services. It works fine as it is, but I'm interested in achieving as fast response times as possible in calls to the server. I'd be interested in a general discussion on fast communication though, rather than only interested in posts relating to my specific context.


Advertisement