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

feat: 增加长连接支持; #2

Closed
maslow opened this issue Aug 19, 2021 · 0 comments
Closed

feat: 增加长连接支持; #2

maslow opened this issue Aug 19, 2021 · 0 comments

Comments

@maslow
Copy link
Member

maslow commented Aug 19, 2021

  1. 设计长连接与云函数事件触发器联合的机制
  2. 客户端消息事件可触发云函数
  3. 云函数可推送消息到客户端
  4. 考虑客户端直接基于 MongoDb WatchStream 监听数据
  • client -> socket -> function trigger -> function
  • database change -> function trigger -> function -> socket -> client

or

  • client -> socket -> proxy with policy -> listening on database change
  • database change -> socket -> client
@maslow maslow added this to the v1.0-refactor milestone Sep 27, 2021
@maslow maslow closed this as completed Nov 16, 2021
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