【发布时间】:2012-06-05 16:46:46
【问题描述】:
从 netty 中的 websocket 服务器定期(比如每 n 秒)连续推送一些数据的最佳方法是什么?
编辑:
我遇到了这个帖子:Best way to send continuous data in Java using Netty,根据答案,while/sleep 的可扩展性不是很大,如何在 Executor 上安排工作?
【问题讨论】:
标签: netty server-push executors
从 netty 中的 websocket 服务器定期(比如每 n 秒)连续推送一些数据的最佳方法是什么?
编辑:
我遇到了这个帖子:Best way to send continuous data in Java using Netty,根据答案,while/sleep 的可扩展性不是很大,如何在 Executor 上安排工作?
【问题讨论】:
标签: netty server-push executors
【讨论】: