rest_rpc icon indicating copy to clipboard operation
rest_rpc copied to clipboard

订阅发布模式数据缓存问题

Open chisheng opened this issue 2 years ago • 2 comments

祁工: 我看下了订阅发布模式的实现方式,如果发布者发布速度远大于消费者,数据会缓存在链接里的数据队列write_queue_,时间久了会把内存耗光的吧,能增加每个链接发送缓存队列的最大值限制么?

chisheng avatar Jun 22 '22 10:06 chisheng

之前有个https://github.com/qicosmos/rest_rpc/pull/25 pr加了上限。 不过还没更新,我关注一下,希望@LeoYang-Chuese 能更新一下,或者我晚点加一下。

qicosmos avatar Jun 23 '22 02:06 qicosmos

耽搁了,我近期抽时间更一下。

LeoYang06 avatar Jun 23 '22 03:06 LeoYang06