ASP.NET核心信号连接

发布于 2025-02-10 02:31:41 字数 188 浏览 0 评论 0原文

我正在使用ASP.NET Core SignalR发送实时数据。我写了一个运行时服务,将客户的数据收集到集线器,然后将其从集线器分配给另一个客户端。但是,正处于枢纽队列中的数据停滞状态。也就是说,当客户端连接到集线器以获取数据时,它有时会丢失1,2分钟的数据,然后将40.50个消息从集线器中持续下降,而数据非常稳定,而不会失去连接。你们中有人遇到过这种情况吗?

I'm using ASP.NET Core SignalR to send real-time data. I have written a runtime service that collects client's data to the hub and then distributes it from the hub to another client. But is suffering from data stagnation in the hub's queue. That is, when the client connects to the hub to get data, it sometimes loses data for 1,2 minutes, then 40.50 messages continuously shoot down from the hub while their data is very stable without such loss of connection. Have any of you encountered this situation?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文