Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1576740
  • 博文数量: 399
  • 博客积分: 8508
  • 博客等级: 中将
  • 技术积分: 5302
  • 用 户 组: 普通用户
  • 注册时间: 2009-10-14 09:28
个人简介

能力强的人善于解决问题,有智慧的人善于绕过问题。 区别很微妙,小心谨慎做后者。

文章分类

全部博文(399)

文章存档

2018年(3)

2017年(1)

2016年(1)

2015年(69)

2013年(14)

2012年(17)

2011年(12)

2010年(189)

2009年(93)

发布时间:2018-06-08 15:22:31

Immutable objects are also automatically thread-safe and have no synchronisation issues. They can also never exist in unknown or undesirable state because of an exception. Because all initialisation occurs at construction time, which is atomic in Java, any exception occurs before you have .........【阅读全文】

阅读(1012) | 评论(0) | 转发(0)

发布时间:2018-04-12 20:08:34

作者说It would be of some use to see stacktraces that extend down into the HikariCP classes (in the case of the first and second stacktraces above).  Enabling DEBUG logging for com.zaxxer.hikari would also be useful.  HikariCP is not terribly noisy.  Debug logging would allow us to s.........【阅读全文】

阅读(905) | 评论(0) | 转发(0)

发布时间:2018-04-12 17:37:28

High Availability (HA) of a system is achieved by incorporating specific features to reduce service downtime, typically: failover, load balancing and replication. These techniques can be easily incorporated into services deployed on multi-data center clouds. To some extent, HA features are currently available on public cloud providers but seriously limited by networking constraints. This is a horizontal use case that accommodates any cluster, or multi-tier, application. ......【阅读全文】

阅读(789) | 评论(0) | 转发(0)

发布时间:2016-03-16 13:29:31

Kafka消费者分两类:1) 使用低级API2) 使用高级API高级Consumer API 只用在 需要消费数据但是不需要记录编移量,即上次读取的位置。 高级Consumer API 从 Zookeeper 的特定分区上存储上次读取的位置偏移量,这个编移量和 消费者一开始传给Kafka 集群的 Consumer Group 名称 一一对应.  所以要重复读取的话,只.........【阅读全文】

阅读(1540) | 评论(0) | 转发(0)

发布时间:2015-07-03 14:54:20

关于事务一致性和最终一致性的鉴别:<br /><br />When examining the use case (or story), ask whether it’s the job of the user executing the use case to make the data consistent.<br /><br />If it is, try to make it transactionally consistent, but only by adhering to the other rules of Aggregates..........【阅读全文】

阅读(3592) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

我本痴情2013-12-26 15:33

谢谢你的分享,收益颇多,谢谢

回复  |  举报

shiluodan2013-08-08 20:55

还只是菜鸟,不过还是希望能看到那些很厉害的博文。很感谢你的分享。

回复  |  举报
留言热议
请登录后留言。

登录 注册