即时通信资料整理

方案一 xmpp (太笨重)

webrtc(WebSocket) + openfire(服务器) ===> xmpp 方案
https://zhuanlan.zhihu.com/p/24345429
http://www.cnblogs.com/lixiaolun/archive/2013/12/07/3462780.html // Openfire开发配置,Openfire源代码配置,OpenFire二次开发配置
openfire spring 整合

方案二

MQTT + ApolloServer(服务器) or emqttd (服务器) ===> MQTT 方案
spring mqtt 整合
http://blog.csdn.net/boonya/article/details/51396990 MQTT+ApolloServer实现Android的消息推送功能
http://activemq.apache.org/apollo/documentation/mqtt-manual.html
http://blog.csdn.net/djun100/article/details/25752491
https://github.com/mqtt/mqtt.github.io/wiki/libraries

xmpp 和 mqtt 及 GCM 对比
https://www.zhihu.com/question/20730361

方案三

node.js + (redis or mongodb) + 数据库(mysql or other) 实现 基于websocket

方案 四

netty websocket 实现
https://mpusher.github.io/docs/
快速使用 netty 轻松打造一个 websocket服务: http://www.tuicool.com/articles/BN3uIf2

mpush(基于netty4搭建+redis+ zookeeper)
https://github.com/mpusher/mpush

方案 五

springmvc (websocket)

https://github.com/Amayadream/WebChat
http://blog.csdn.net/Amayadream/article/details/50551617

websocket 框架对比
(netty,go,node.js 等) 推荐使用 netty 或者 node.js
http://www.importnew.com/23286.html

t-io: 百万级TCP长连接即时通讯框架
https://git.oschina.net/tywo45/t-io

ActiveMQ

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • afinalAfinal是一个android的ioc,orm框架 https://github.com/yangf...
    passiontim阅读 15,693评论 2 45
  • Android 自定义View的各种姿势1 Activity的显示之ViewRootImpl详解 Activity...
    passiontim阅读 175,653评论 25 709
  • jQuery.parent(expr)找父亲节点,可以传入expr进行过滤,比如$("span").parent(...
    空谷悠阅读 3,627评论 0 5
  • 未来不迎,当时不杂,过往不恋。 不问是非,埋头业务,屁股干净,尽力协调。
    吃饱的疯子阅读 1,501评论 0 1
  • 寒露秋霜今日碎,飞花散落满汀洲。 君云山外三篙日,我报楼前一段秋。 离后方知情已重,别来更晓意难休。 相思应是何滋...
    莫愁Jessie阅读 3,800评论 19 14