开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜