Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有些问题想和你讨论下 #2

Open
EdXu opened this issue Jun 27, 2017 · 0 comments
Open

有些问题想和你讨论下 #2

EdXu opened this issue Jun 27, 2017 · 0 comments

Comments

@EdXu
Copy link

EdXu commented Jun 27, 2017

  1. zhandle_t 是struct,Reconnect和外部应用调用时存在并发问题,仅靠 外部应用枷锁时无法解决的。失效的zhandle_t应该及时释放,避免内存泄漏。
  2. 存在丢通知的问题,按照事件来处理必定会丢通知(例如在会话超时的那段时间内有数据变化,订阅无法通知到),所以建议采用 数据版本号,异常情况下(会话异常),比对本地与服务器的版本差异,继而得到发现丢失数据变化通知。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant