自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

武汉红喜

https://github.com/javahongxi

  • 博客(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)

Java生态常用技术示例,生产级别Demo。专注于Java生态研究,为Java学习者少走弯路。

2018-09-02

javahongxi的技术博客

Java系列常用技术原理分析:Java基础,Servlet,Tomcat,Spring,SpringMVC,SpringBoot,Redis,Dubbo,RocketMQ,ActiveMQ,Zookeeper,MySQL,架构。资料来源于我的博客www.toutiao.im, GitHub: https://github.com/javahongxi. 深入一点,你会更快乐。

2017-11-05

研究各种Java技术(Springboot+Redis+Dubbo+Rocketmq) 京东技术 www.toutiao.im

研究各种Java技术(Springboot+Redis+Dubbo+Rocketmq),地址https://github.com/javahongxi/whatsmars,为maven项目,含如下模块: whatsmars-common mongodb,mail,AES,DES加解密 whatsmars-earth-web springmvc+velocity whatsmars-earth-support-web earth工程的辅助工程(task,mq,uuid,monitor..) whatmars-fs-web 用mongodb存储图片和文件 whatsmars-javase-example Java基础学习 whatsmars-spring spring原理、集成及新特性 whatsmars-tomcat 模拟tomcat实现 whatsmars-dbrouter 分库分表实现 whatsmars-worker 多实例任务调度 whatsmars-dubbo Dubbo demo whatsmars-mq rocketmq,activemq rocketmq-console rocketmq管理后台 whatsmars-rpc 常用rpc whatsmars-spring-boot springboot果然很方便 whatsmars-redis Cache Service & Redis Cluster whatsmars-motan weibo分布式RPC框架 demo server whatsmars-motan-demo weibo分布式RPC框架 demo server&client

2017-09-12

京东核心技术详解 www.toutiao.im

详解京东核心技术,如服务化框架JSF,云缓存Jimdb,消息中间件JMQ,京东商城技术架构等。更多技术详见www.toutiao.im

2017-01-20

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除