消息群发问题

56 views
Skip to first unread message

2701...@qq.com

unread,
Apr 15, 2014, 5:52:57 AM4/15/14
to socketi...@googlegroups.com
现在消息群发的方式是,向每个IOClient发送一条消息,这样用户量大的话效率会不会有问题?能不能使用ChannelGroup来完成群发功能,这个要如何实现呢,因为ChannelGroup.add添加的需要是一个Channel,而IOClient不是Channel,所以不知道要怎么做。忘赐教。谢谢。

yongboy

unread,
Apr 16, 2014, 12:56:06 AM4/16/14
to socketi...@googlegroups.com
用户量大可能存在效率问题,但大部分群发都是一一发送。ChannelGroup,没有用过,没有发言权。
您好,因现在工作忙碌原因,只能暂停维护。若您感兴趣,可以作为维护者。



在 2014年4月15日 下午5:52, <2701...@qq.com>写道:
现在消息群发的方式是,向每个IOClient发送一条消息,这样用户量大的话效率会不会有问题?能不能使用ChannelGroup来完成群发功能,这个要如何实现呢,因为ChannelGroup.add添加的需要是一个Channel,而IOClient不是Channel,所以不知道要怎么做。忘赐教。谢谢。

--
You received this message because you are subscribed to the Google Groups "socketio-netty" group.
To unsubscribe from this group and stop receiving emails from it, send an email to socketio-nett...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages