I have a WCF service consumed by silverlight application. To improve the performance of my application i considered using protobuf.net.
To support silverlight application, operation contracts have been modified to return byte[].
Protobuf.net version :v2.0.50727
After using protobuf.net serializer, message size has come down by 40%. However, it seems to be taking more time for processing compared to DataContractSerializer.
I believe byte[] is again getting serialized by DataContractSerializer and causing the delay. I have been testing the application on Windows 7.And measured time taken at server using fiddler. When serialized using protobuf-net, it seems to be taking couple of more seconds when compared to DCS. Any suggestions or ideas why it takes more time and how do I improve performance with protobuf-net? Thanks in advance.
No comments:
Post a Comment
Send us your comment related to the topic mentioned on the blog