- 博客(8)
- 资源 (4)
- 收藏
- 关注
转载 分布式之数据库和缓存双写一致性方案解析
转自 https://maimai.cn/article/detail?fid=1057432698&efid=vnXzd0cl0pDwUW6f6iMpGA&from=single_feed为什么写这篇文章?首先,缓存由于其高并发和高性能的特性,已经在项目中被广泛使用。在读取缓存方面,大家没啥疑问,都是按照下图的流程来进行业务操作。但是在更新缓存方面,对于更新完数据...
2019-01-25 13:43:38 422
转载 开发者如何玩转 RocketMQ?附最全源码解读 【Remoting篇】
借用一句话“消息队列的本质在于消息的发送、存储和接收”。那么,对于一款消息队列来说,如何做到消息的高效发送与接收是重点和关键。前排友情提示:这是一篇很硬的干货。 RocketMQ中Remoting通信模块概览 RocketMQ消息队列的整体部署架构如下图所示: 先来说下RocketMQ消息队列集群中的几个角色: NameServer:在MQ集群中做的是...
2019-01-24 15:59:50 1338
转载 Dubbo 2.7背后的思考和实现方式
Dubbo 2.7 将围绕 异步支持优化、元数据改造,引入JDK8的特性、Netty4.0的特性以及MetricsAPI 5个方面提升服务调用和服务治理的效率,以及可扩展性,同时将修复社区提出的若干问题。据悉,2.7.x会作为Dubbo在Apache社区的毕业版本,Dubbo将有机会成为继RocketMQ后,来自阿里巴巴的又一个Apache顶级项目(TLP)。 优化对异步的支持...
2019-01-22 16:21:37 2327 4
原创 Mybatis multi database in spring boot 2
@Configurationpublic class MybatisConfig { @MapperScan(basePackages = "org.hongxi.whatsmars.boot.sample.mybatis.dao.user", sqlSessionTemplateRef = "userSqlSessionTemplate") private class use...
2019-01-09 16:25:22 426
原创 rocketmq-spring-boot-starter使用指南
https://github.com/apache/rocketmq-spring.git针对官方starter修改点 官方支持连接多个集群(订阅) (官方一个应用只能连接一个集群)顺序消息消费失败,可配重试次数 (非顺序消息默认重试16次,每次时间延后)发送延时消息方法参数优化(魔法参数改为枚举)优化getMessageType方法,支持 MyConsumer extends Abs...
2019-01-09 16:24:02 86559 36
原创 dubbo-spring-boot-starter使用指南
https://github.com/apache/incubator-dubbo-spring-boot-project.gitdependencies<dependency> <groupId>com.alibaba.boot</groupId> &a
2019-01-09 16:21:52 3422 1
原创 RocketMQ客户端简单封装
public class ClientConfig { protected String namesrvAddr = System.getProperty(MixAll.NAMESRV_ADDR_PROPERTY, System.getenv(MixAll.NAMESRV_ADDR_ENV)); protected String instanceName = System.ge...
2019-01-09 16:17:09 3010
原创 Redis客户端简单封装
public class ShardedRedisClient implements FactoryBean<ShardedJedisPool>, InitializingBean, DisposableBean { private ShardedJedisPool shardedJedisPool; private JedisPoolConfig jedisPoo...
2019-01-08 23:13:26 549
Java生态研究(Spring Boot + Redis + Dubbo + RocketMQ)
2018-09-02
javahongxi的技术博客
2017-11-05
研究各种Java技术(Springboot+Redis+Dubbo+Rocketmq) 京东技术 www.toutiao.im
2017-09-12
京东核心技术详解 www.toutiao.im
2017-01-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人