技术应用场景

springBoot和springCloud分布式服务

rest,facade,dbi

工程git分4个分支

dev,test,master,release

 

做应用即时聊天

netty-socketio

github 搜索netty-socketio-demo

 

netty-socketio 整合redis实现发布订阅

即时消息缓存到redis

Redis的pub/Sub(订阅与发布) 

 

反复尝试调用接口实现层

Spring boot使用spring retry

 

redis过期回调实现方法

KeyExpiredListener implements MessageListener

 

缓存使用

spring boot redisTemplate 封装

 

处理大量数据时

java分批处理

查询优化检索

通过关联检索出对应ID

再通过多ID查相应数据表

 

posted @ 2020-06-27 12:22  范特杰西  阅读(143)  评论(0编辑  收藏  举报