首页 > 解决方案 > RabbitMQ,.NET 中的模拟超时异常

问题描述

Background: Our application is a multi-threaded .NET based application. Each thread would connect to the same exchange and corresponds to different queue. Each thread uses a long living connection of its own, everything was going fine until one day we got timeout exceptions on all the threads, and our application crashed. I assume its a server side issue and few of the sites too mentioned it could be due to Garbage collection or memory constraints. Solution: RabbitmQ recommends to use NetworkRecoveryInterval option for timeout issues.

I need help in mimicking this scenario and ensure that the fix works.

Thank you in advance.

标签: c#.netrabbitmq

解决方案


toxiproxy应用程序可以做你需要的。


注意: RabbitMQ 团队会监控邮件列表rabbitmq-users有时只会在 StackOverflow 上回答问题。


推荐阅读