c# - 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.
解决方案
推荐阅读
- json - Firefox 插件:将加载的 json 解析/保存为 HAR 或文本文件
- pyspark - pySpark 数据框过滤方法
- shell - 我正在尝试通过在 osx 10.14 上制作可点击的 shell 脚本来启动“jupyter notebook”
- flutter - 更改文本相对于其他小部件的大小/位置
- sorting - 如何从 29 年的数据集中按小时计算一年的中值?
- c# - 这是 C# Monad,问题出在哪里?
- python - 将嵌套字典转换为数据框,键作为行名,值中的字典作为列?
- command-line-interface - 使用 spaCy 命令行训练器管理训练/开发拆分
- arrays - 二维数组中的数组大小不匹配
- sql - PostgreSQL INSERT INTO 表不存在