开发者

Performance implications of turning MTOM on for a WCF service

Would there be any noticeable performance hit if MTOM开发者_运维问答 is turned on for a WCF service that isn't actually transferring any binary over the wire?


What is your binding set to now? MTOM is faster than text (if binaries are sent), but slower than binary.

  • choose text when the messages need to be readable
  • choose binary with wcf to wcf communication
  • choose mtom when you have binaries to send and have interoperability issues

You stated you have no binary data, in that case MTOM will be slower than text! It needs to pack the data into a MIME-document, and that takes time.

Regards,

M.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜