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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Fastest serialization in .net - protocol buffers?

  • 12-04-2010 3: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