无状态分布式后端面向连接的在线状态跟踪
2 分•作者: duckydude20•2 个月前
我遇到了跨进程追踪设备在线状态的问题。
重连不应该将它们标记为离线,然后再标记为在线。还有其他一些扩展性问题,比如当连接从一个进程转移到另一个进程时。
所以我写了一篇简单的论文来阐述我的想法。希望大家会觉得有趣。
https://github.com/sku0x20/connection-agnostic-presence-tracking/releases/download/v1.3.0/main.pdf
查看原文
i was facing problem of tracking online presence of devices across processes.
reconnection shouldn't mark them as offline and then online again. and other scaling issues, like when connection moves from one process or another.<p>so i wrote a simple paper with my ideas. i hope you guys will find it interesting.<p>https://github.com/sku0x20/connection-agnostic-presence-tracking/releases/download/v1.3.0/main.pdf