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

增加聊天室作为 pubsub 场景的使用说明 #756

Closed
sunng87 opened this issue Nov 27, 2015 · 2 comments
Closed

增加聊天室作为 pubsub 场景的使用说明 #756

sunng87 opened this issue Nov 27, 2015 · 2 comments
Labels

Comments

@sunng87
Copy link
Contributor

sunng87 commented Nov 27, 2015

实时通信聊天室可以用到普通的 pubsub 场景,但是大部分用户想不到,我们需要在文档上说明

@leeyeh
Copy link
Member

leeyeh commented Feb 15, 2016

现在如果我想实现类似 github web 页面上基于 pub / sub 的通知功能,那么每个 tab 都是一个 subscriber,这时候 subscriber 其实是不需要持久化的。

基于推送协议来做是比较自然的方式,但是每个页面订阅的 channel 是不同的,会产生大量的 installation。如果基于暂态聊天室来做,那么引入了 conversation、client、message 等概念与 pub / sub 中的概念还是有一定区别的,并且会与正常的聊天 conversation 混在一起。

不知道有没有更好的方案。

@weakish weakish added the idea label Jan 30, 2019
@weakish
Copy link
Contributor

weakish commented Jan 22, 2020

这个感觉比较魔法,先关掉了。

@weakish weakish closed this as completed Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants