Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1519206
  • 博文数量: 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)

发布时间:2015-07-02 15:01:33

我们知道DDD中,Aggregate和面向对象的Class是不同的。虽然也讲究高内聚,但是Aggregate对粒度有苛刻的要求。
一个Aggregate是一个一致性的边界。
一个Entity中, 如果有一些属性经常同时变化,
......【阅读全文】

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

发布时间:2015-06-08 14:30:40

Command-Query Responsibility SegregationTo understand CQRS, let’s first talk about the object pattern Command-Query Separation (CQS).CQS at an object level means:If a method mutates the state of the object, it is a command, and it must not return a value.If th.........【阅读全文】

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

发布时间:2015-05-21 18:13:15

一般来说,如果索引包含N个键,则按照顺序对于其任意前缀的查询都会有帮助。比如已有索引 {“a”:1, “b”:1, “c”:1, “d”:1, “e”:1},实际上是有了{“a”:1} , {“a”:1, “b”:1},{“a”:1, “b”:1, “c”:1}, {“a”:1, “b”:1, “c”:1, “d”:1},{.........【阅读全文】

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

发布时间:2015-05-18 10:43:01

使用ganglia监控storm集群......【阅读全文】

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

发布时间:2015-05-12 15:22:20

{worker_processes 1; events { worker_connections 1024; } http{ upstream myproject { #这里指定多个源服务器,ip:端口,80端口的话可写可不写 server 192.168.43.158:80; .........【阅读全文】

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

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

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

回复  |  举报

shiluodan2013-08-08 20:55

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

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

登录 注册