开发者

Is protobuf-net compatible with Windows azure (web role)?

开发者 https://www.devze.com 2023-03-19 01:44 出处:网络
I\'m building some wcf services for inter web role communications and i\'m looking at getting some performance enhancments.Built 开发者_开发问答in .net serialization is well known for being lacking in

I'm building some wcf services for inter web role communications and i'm looking at getting some performance enhancments. Built 开发者_开发问答in .net serialization is well known for being lacking in the speed deparment.

I have been looking into protobuf-net for the serialization for across the wire and for caching purposes.

My question is - Will the protobuf-net library play well with the cloud? I believe that the web role runs in partial trust by default.


I've used it and can vouch that the protobuf-net works well. Specifically, I've used it for storing data in the queue, as its limit is 8192 bytes (the limit is actually lower, due to I think UTF8 encoding ~ 6.3k). Anything larger you need to store the data in the BLOB and a reference in the queue.

As for using it to serialize WCF data, I am sure it will work as well, but I dont have experience in that space.

0

精彩评论

暂无评论...
验证码 换一张
取 消