Comments (7)
Hi, 需要修改一下 icomet.conf,
max_subscribers_per_channel: 16
from icomet.
thank you,请问下这个参数是控制什么的?具体含义和用法是?
from icomet.
顾名思义, 便是每条通道的最大订阅数.
from icomet.
我也出现这个问题,也是提示太多的订阅者,Too many subscribers这个问题(app端会出现,但是在网页端又不会),我配置了max_subscribers_per_channel: 16000,问题还是没解决,请问有解决的方案吗??
还有有没有更好的解决消息丢失的问题,比如微信app,他们也有相关的处理手段!!
from icomet.
@sylnkk 你需要根据情况继续加大这个参数.
关于消息丢失的问题的处理, 正常情况 icomet 缓存了一些消息, 每条消息有序号, 会自动重传(根据客户端传的 seq 参数), 如果序号出现不连续, 应用应该自己到持久化层(如DB)里获取丢失的消息.
from icomet.
@ideawu icomet如何做消息状态的监控,比如服务端推送消息给客户端,如果客户端没收到,如何实现服务端重发? 现在用php做服务端,java做客户端,开发安卓应用遇到这个问题,而且icomet推送的消息有些手机又收不到,比较奇怪。。。 坐等您的回答,随便感谢您的icomet,让推送更简单。。。
from icomet.
icomet会根据客户端连接上来时传递的seq参数决定从哪个位置发送消息, 如果你指定了一个旧的位置, 那么就会得到被重发的消息.
当然, 这个seq必须处在一个范围, 也就是必须是缓存队列中的某一条消息, 如果指定的seq不在缓存队列中, 则无法重发.
所以, 对于你的问题: 指定正确的 seq, icomet 会重发消息.
from icomet.
Related Issues (20)
- icomet研究中发现的一些问题及解决方案
- icomet 有没有生产环境中的案例
- memory leak: did not delete psub in Server::psub_end HOT 1
- 如何实现同时订阅多个频道的消息 HOT 1
- How to Enable https for icomet HOT 1
- 只要前端发起sub,就会创建channel??? HOT 1
- 手机端使用4g网络时会被"踢出"房间 HOT 1
- 希望增加POST推送消息 HOT 3
- Possible security breach
- How I can use it over https?
- 不知道为什么会出现这种情况,签名能获取到cname和token,但是sub的时候就获取不到 HOT 1
- Uncaught SyntaxError: Unexpected token : HOT 1
- 当开启Token验证的时候,如果客户端使用SSE模式订阅,无法收到错误消息
- front接口返回Content-Type不正确 HOT 1
- Recv-Q bytes not reading ... HOT 1
- 请问:生成的log是否可以按天分割 HOT 1
- 作者你好
- 有接口获取所有在线channels吗? HOT 1
- Timeout and error - 'Unexpected Identifier' HOT 3
- 作者你好
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icomet.