简体   繁体   English

CMDH 和 CoAP 都定义了重试策略,应该使用哪个?

[英]CMDH and CoAP both define retry policies, which should be used?

When CMDH processing is in use to retry communications between CSEs, and that communication link uses CoAP (which defines its own retry logic), which retry policy should be used: CMDH or CoAP?当 CMDH 处理用于重试 CSE 之间的通信时,并且该通信链路使用 CoAP(它定义了自己的重试逻辑),应该使用哪种重试策略:CMDH 还是 CoAP?

CMDH processing - level retries happens on a higher layer than the transport protocol's retransmission. CMDH 处理 - 级别重试发生在比传输协议的重传更高的层上。 This is the same as with any transport protocol, eg with TCP/IP retransmissions.这与任何传输协议相同,例如 TCP/IP 重传。 Those can actually be quite dynamic, depending also on various external factors .network defaults, congestion, etc).这些实际上可能是非常动态的,还取决于各种外部因素(网络默认值、拥塞等)。

CMDH retries are application-level settings and should be set to a higher value, but this depends on the use case, eg when does it actually still make sense to process an old event. CMDH 重试是应用程序级别的设置,应该设置为更高的值,但这取决于用例,例如,什么时候处理旧事件实际上仍然有意义。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM