varnish 性能相关
作者:anotherbug 日期:2009-04-23
Varnish settings ?
To see further description of these settings, also check param.show -l in the Varnish management interface.
-p thread_pool_max=4000 (default 1000)
This number should be as low as possible, but with an upwards margin. Do not set it much higher than you need, that only leads ...
To see further description of these settings, also check param.show -l in the Varnish management interface.
-p thread_pool_max=4000 (default 1000)
This number should be as low as possible, but with an upwards margin. Do not set it much higher than you need, that only leads ...
关于分布式Cache中的containsKey()性能问题
作者:anotherbug 日期:2007-11-20
1.分布式Cache需要一次网络调用才能找到containsKey()的答案
2.System.currentTimeMillis() 或者 new Date() 不能精确的计算短操作的时间,可以用System.nanoTime()。
3.为分布式Cache添加索引不会提高它的性能,因为这个方法里不会用到索引。
4.有可能将key序列化并发送到网络上需要花几毫秒,也可能网络环境比较差,或者有JVM正处于Garbage Collection pause时都会让containsKey()性能降低一些。
5.比较标准的测试可以采用循环100000次来平均.
2.System.currentTimeMillis() 或者 new Date() 不能精确的计算短操作的时间,可以用System.nanoTime()。
3.为分布式Cache添加索引不会提高它的性能,因为这个方法里不会用到索引。
4.有可能将key序列化并发送到网络上需要花几毫秒,也可能网络环境比较差,或者有JVM正处于Garbage Collection pause时都会让containsKey()性能降低一些。
5.比较标准的测试可以采用循环100000次来平均.
如何监控MYSQL的性能
作者:anotherbug 日期:2007-11-03
How to Monitor MySQL's performance
Here are some ideas, how you can monitor the database performance of your MySQL installation. Monitoring is always an iterative and continuous process. You need to learn what patterns are OK for your database and what are the signs of slight problems or eve...
Here are some ideas, how you can monitor the database performance of your MySQL installation. Monitoring is always an iterative and continuous process. You need to learn what patterns are OK for your database and what are the signs of slight problems or eve...
Lucene性能分析与优化
作者:anotherbug 日期:2007-10-27
Lucene性能分析与优化
Performance Analysis and Optimization on Lucene
ABSTRACT
This paper discusses the efficiency of the popular Java-
Language-based search engine Lucene in terms of its
space usage and executing speed. Emphasis of this analysis
is based on Lucene’s index writing package...
页面响应性能回归到50ms以内
作者:anotherbug 日期:2007-10-17
用Resin 3.1.2分析系统性能瓶颈
作者:anotherbug 日期:2007-09-29
这两天发现blog系统访问响应变慢,经分析发现服务器CPU接近100%,而且降不下来,经分析应该是有大量类似循环的操作导致。
采用Resin 3.1.2,打开后台的Threads监控页面(如附件),访问前台页面,多刷新几次,在后台再刷新Threads页面,如果其中的Active项中含有非Resin或Jdk的方法,说明该方法存在严重的性能问题一直处于执行状态而不能结束,特别是如果是你自己写的方法。
经此方法检查,anotherbug发现当前Active的线程中经常停留在一个方法,于是将该方法暂时禁用,再重启Resin进行跟踪,发现Active不再出现该方法。
附件是Resin的...
优化CMP性能 in Weblogic with Long-term Caching
作者:anotherbug 日期:2007-09-27
在Weblogic中长期Cache优化CMP性能
Optimizing CMP Performance in Weblogic with Long-term Caching
<P>Not very popular choice for persistence nowadays, CMP still too often is only
readily available persistence framework in Enterprise environment. While not
as sexy as <A href...
JVM虚拟机速度性能测试
作者:anotherbug 日期:2007-09-24
I just realized I am running 1.5.0-beta2 so my test results may change if I get a newer version. Anyway, here is the test code I use. I think it's a lot better than running each test in tandem. It tends to spread out anomalies between the different implementations. In any event, it produces extremel...
Tuning Java Virtual Machines - 6.0
作者:anotherbug 日期:2007-09-20
利用 Etag 与 Last-Modified 减轻服务器压力
作者:anotherbug 日期:2007-09-16
[code]
//Action
if(!isModified(request, avatar))
{
return "notmodified";
} else
{
response.setDateHeader("Last-Modified", getImageFile(avatar, getSize()).lastModified() + avatar.getID());
response.setHeader("Etag"...
//Action
if(!isModified(request, avatar))
{
return "notmodified";
} else
{
response.setDateHeader("Last-Modified", getImageFile(avatar, getSize()).lastModified() + avatar.getID());
response.setHeader("Etag"...
JProfiler远程监控主机
作者:anotherbug 日期:2007-08-20
MySQL在多CPU机器上的并发性能可望于近期获重大提升
作者:anotherbug 日期:2007-07-18
MySQL在多CPU机器上的并发性能可望于近期获重大提升
MySQL(这里特指使用InnoDB存储引擎的MySQL)在多CPU机器上的性能问题一直为人诟病。根据Tweakers.net的评测,在单CPU机器上,MySQL的性能是PostgreSQL的1.5倍,但在双CPU的机器上MySQL性能就已经跟PostgreSQL相差无几了。在拥有更多的CPU的服务器上,MySQL的性能与双CPU相比即不再增加,到8个CPU时还反而下降。
但这一现象可望在近期得到改变。在上个月举行的MySQL用户大会上,NTT COMWARE公司的Yasufumi Kinoshita公布了他们针对...
MySQL(这里特指使用InnoDB存储引擎的MySQL)在多CPU机器上的性能问题一直为人诟病。根据Tweakers.net的评测,在单CPU机器上,MySQL的性能是PostgreSQL的1.5倍,但在双CPU的机器上MySQL性能就已经跟PostgreSQL相差无几了。在拥有更多的CPU的服务器上,MySQL的性能与双CPU相比即不再增加,到8个CPU时还反而下降。
但这一现象可望在近期得到改变。在上个月举行的MySQL用户大会上,NTT COMWARE公司的Yasufumi Kinoshita公布了他们针对...
网格观点: 改进数据访问的性能
作者:anotherbug 日期:2007-07-07
网格观点: 改进数据访问的性能
数据和信息网格世界中的技术、方法和趋势
文档选项
将此页作为电子邮件发送
级别: 初级
Matt Haynos (mph@us.ibm.com), 项目总监,Grid Technology and Strategy, IBM
2007 年 5 月 24 日
在本文中我们将探索在分布式环境中用来智能地管理数据所使用的技术、方法和总体发展趋势。作者 Matt Haynos 介绍了网格用户用来在计算中集成数据和进行动态资源管理所使用的一些技术和方法,还阐述了网格业界的一些有趣的发展趋势。...
数据和信息网格世界中的技术、方法和趋势
文档选项
将此页作为电子邮件发送
级别: 初级
Matt Haynos (mph@us.ibm.com), 项目总监,Grid Technology and Strategy, IBM
2007 年 5 月 24 日
在本文中我们将探索在分布式环境中用来智能地管理数据所使用的技术、方法和总体发展趋势。作者 Matt Haynos 介绍了网格用户用来在计算中集成数据和进行动态资源管理所使用的一些技术和方法,还阐述了网格业界的一些有趣的发展趋势。...
jofti CACHE索引使用例子及性能分析
作者:anotherbug 日期:2007-07-04
java应用程序性能分析工具jrat
作者:anotherbug 日期:2007-06-02
http://jrat.sourceforge.net/
JRat the Java Runtime Analysis Toolkit
What is JRat?
Hooks, Handlers, and Viewers
How does JRat hook into an application?
What does JRat do with these events?
Is there a user interface?
How do I start using JRat?
What is JRat?
JRat is t...






