2016年12月7日

dubbo monitor simple 监控原理分析

摘要: 监控机制: 服务消费者和提供者,在内存中累计调用次数和调用时间,定时每分钟发送一次统计数据到监控中心。监控中心负责统计各服务调用次数,调用时间等。 监控元数据存储目录结构: --dubbo.jetty.directory statistics day interface method consume 阅读全文

posted @ 2016-12-07 09:33 D_D_U 阅读(1925) 评论(0) 推荐(0) 编辑

2012年10月24日

SQL 优化原则(转)

摘要: 一、问题的提出 在应用系统开发初期,由于开发数据库数据比较少,对于查询SQL语句,复杂视图的的编写等体会不出SQL语句各种写法的性能优劣,但是如果将应用系统提交实际应用后,随着数据库中数据的增加,系统的响应速度就成为目前系统需要解决的最主要的问题之一。系统优化中一个很重要的方面就是SQL语句的优化。对于海量数据,劣质SQL语句和优质SQL语句之间的速度差别可以达到上百倍,可见对于一个系统不是简单地能实现其功能就可,而是要写出高质量的SQL语句,提高系统的可用性。 在多数情况下,Oracle使用索引来更快地遍历表,优化器主要根据定义的索引来提高性能。但是,如果在SQL语句的where子句中写的. 阅读全文

posted @ 2012-10-24 17:54 D_D_U 阅读(262) 评论(0) 推荐(0) 编辑

2012年7月18日

freemark list 循环变量类型错误问题

摘要: 今天遇到这个问题。mark一下 freemark list 循环变量必须是List变量。不能使实体变量,不然会报类型错误。 阅读全文

posted @ 2012-07-18 11:51 D_D_U 阅读(244) 评论(0) 推荐(0) 编辑

2012年7月17日

解决java web项目导入后出现的问题 ---cannot be read or is not a valid ZIP file

摘要: 今天导入以前的2个web项目后会出现以下三个错误: 1. Archive for required library: ‘WebContent/WEB-INF/lib/readme.txt’ in project ‘xxxxxxxxx’ cannot be read or is not a valid ZIP file 2. The project cannot be built until b... 阅读全文

posted @ 2012-07-17 16:49 D_D_U 阅读(24701) 评论(1) 推荐(2) 编辑

2012年6月4日

修复”Press S to Skip Mount during boot on Ubuntu“错误

摘要: How to fix Press S to Skip Mount during boot on Ubuntu How to fix Press S to Skip Mount message on boot, The disk drive for /sharedevice or uuid=…. is not ready yet or not present, Continue to wai... 阅读全文

posted @ 2012-06-04 11:47 D_D_U 阅读(1653) 评论(0) 推荐(0) 编辑

2012年6月1日

speed up: 加速 | 使加速

摘要: speed up: 加速 | 使加速 I have found a way to speed up this process. 我已经找到了一个加速这个过程的方法。 If you have such a processor you have certainly seen your programs speed up. 如果您... 阅读全文

posted @ 2012-06-01 09:34 D_D_U 阅读(484) 评论(0) 推荐(0) 编辑

2012年5月31日

OpenVMS基础命令

摘要: OpenVMS常用基本操作命令: Boot [-flag 0,0] 启动 Help 帮助 ... 阅读全文

posted @ 2012-05-31 17:01 D_D_U 阅读(1839) 评论(0) 推荐(0) 编辑

English dedicate 致力 题献

摘要: dedicate: 致力 | 题献 | 献身 I dedicate this speech to the memory of these women and children. 我将这片讲话献给我记忆中的这些妇女和儿童。 She vowed to herself that she would dedicate her life to ... 阅读全文

posted @ 2012-05-31 14:46 D_D_U 阅读(210) 评论(0) 推荐(0) 编辑

2012年5月30日

Java Spring Error : Bean property '*****' is not writable or has an invalid setter method.

摘要: 项目调试出现这样的错误。检查发现原因是Spring 的命名规则惹的祸。 解决方法:下面2点的命名必须一致(除get和set方法第一个字母要大写。) 1, protected IUserDAO iuserdao; public IUserDAO getIuserdao() { return iuserdao; } public void setIuserdao(IU... 阅读全文

posted @ 2012-05-30 18:19 D_D_U 阅读(430) 评论(0) 推荐(0) 编辑

2012年5月25日

c++面试题:#define MIN(A,B) ( (A) <= (B) ? (A) : (B) )

摘要: 一道思考题: 写一个“标准”宏MIN,这个宏输入两个参数并返回较小的一个。另外,当你运行”least = MIN(*p++, b); “代码时会发生什么事? 解答: #define MIN(A,B) ( (A) <= (B) ? (A) : (B) ) MIN(*p++, b)会产生宏的副作用。 剖析: 这道题考察对宏定义的使用,宏定义可以实现类似于函数的功能,... 阅读全文

posted @ 2012-05-25 16:09 D_D_U 阅读(3653) 评论(0) 推荐(0) 编辑

导航