
websocket
hello_jee
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
分布式websocket通信--使用redis订阅/发布
由于websocket是长连接,session保持在一个server中,所以在不同server在使用websocket推送消息时就需要获取对应的session进行推送,在分布式系统中就无法获取到所有session,这里就需要使用...原创 2019-03-19 20:53:00 · 5997 阅读 · 2 评论 -
springboot中使用websocket
websocket实现一:使用springboot的配置,实现websocket服务端,需要导入spring websocket的依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websock...原创 2019-06-15 15:41:19 · 1905 阅读 · 0 评论