【发布时间】:2016-09-07 20:51:20
【问题描述】:
我们在 AngularJS、ReBus 和 NHibernate 中构建了 Web 应用程序。在进行性能优化时,REDGATE 的 ANTS Profiler 显示大部分时间都需要执行 MessageQueue.StaleSafeReceiveMessage
Call Graph 会是这个样子,
消息队列是否需要更多时间,为什么会观察到这种行为,有什么可能的选择可以减少这个时间。 注意:我没有添加代码,因为对于所有场景,只有这部分需要 90% 的时间。
【问题讨论】:
标签: message-queue msmq rebus ants msmq-transaction