Chan Chen Coding...

04 2013 档案

Jps介绍以及解决jps无法查看某个已经启动的java进程问题
     摘要: jps类似linux的ps命令,不同的是ps是用来显示进程,而jps只显示java进程,准确的说是当前用户已启动的部分java进程信息,信息包括进程号和简短的进程command。  阅读全文

posted @ 2013-04-26 19:35 Chan Chen 阅读(360) | 评论 (0)  编辑

关于memcache取多值的性能比较
     摘要: 一次取多值的性能要高于多次取值  阅读全文

posted @ 2013-04-26 15:42 Chan Chen 阅读(304) | 评论 (0)  编辑

memcached 客户端代码 Java memcached client学习
     摘要: java memcached client源码,总的代码量还是很少的.主要是如下两个类: MemcachedClient.java 和 SockIOPool.java
  阅读全文

posted @ 2013-04-19 12:16 Chan Chen 阅读(446) | 评论 (0)  编辑

一致性hash算法 - consistent hashing
     摘要: consistent hashing 算法早在 1997 年就在论文 Consistent hashing and random trees 中被提出,目前在 cache 系统中应用越来越广泛;  阅读全文

posted @ 2013-04-19 11:16 Chan Chen 阅读(279) | 评论 (0)  编辑

Pool resources using Apache's Commons Pool Framework
     摘要: Resource usage could prove critical at times for heavy-duty applications. Some famous Websites have shut down because of their inability to handle heavy loads. Most problems related to heavy loads can be handled, at a macro level, using clustering and load-balancing capabilities. Concerns remain at the application level with respect to excessive object creation and the availability of limited server resources like memory, CPU, threads, and database connections, which could represent potential bo  阅读全文

posted @ 2013-04-18 17:03 Chan Chen 阅读(316) | 评论 (0)  编辑