我有一个流,它突然(在成功发送消息数之后)停止发送|接收消息。
它的AeronStat的输出是:
47 : 8,452,864 - pub-pos (sampled): 9 -813703616 1 aeron:udp?endpoint=localhost:40100
48 : 8,519,104 - pub-lmt: 9 -813703616 1 aeron:udp?endpoint=localhost:40100
49 : 130,496 - snd-pos: 9 -813703616 1 aeron:udp?endpoint=localhost:40100
50 : 131,072 - snd-lmt: 9 -813703616 1 aeron:udp?endpoint=localhost:40100
51 : 0 - snd-bpe: 9 -813703616 1 aeron:udp?endpoint=localhost:40100
52 : 130,496 - rcv-hwm: 10 -813703616 1 aeron:udp?endpoint=localhost:40100
53 : 130,496 - rcv-pos: 10 -813703616 1 aeron:udp?endpoint=localhost:40100
54 : 0 - sub-pos: 2 -813703616 1 aeron:udp?endpoint=localhost:40100 @0
55 : 130,496 - sub-pos: 8 -813703616 1 aeron:udp?endpoint=localhost:40100 @0看起来有相对较小的snd-lmt来防止传输。我的理解正确吗?如何更改snd-lmt?还有,当我在AeronStat输出中有一个通道的两个子位置条目时,这意味着什么,例如:
54 : 0 - sub-pos: 2 -813703616 1 aeron:udp?endpoint=localhost:40100 @0
55 : 130,496 - sub-pos: 8 -813703616 1 aeron:udp?endpoint=localhost:40100 @0谢谢!
发布于 2021-10-04 15:48:40
两个sub-pos计数器值表示您对该介质驱动程序上的同一个流有两个单独的订阅。由于订阅没有向前推进,因为它可能没有被轮询,所以发布可能会遇到背压。
https://stackoverflow.com/questions/69405278
复制相似问题