预览模式: 普通 | 列表

varnish 性能相关

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 ...

查看全部...

标签: 性能 Varnish 

分类:资源与资料 | 固定链接 | 评论: 1 | 查看次数: 896

关于分布式Cache中的containsKey()性能问题

1.分布式Cache需要一次网络调用才能找到containsKey()的答案

2.System.currentTimeMillis() 或者 new Date() 不能精确的计算短操作的时间,可以用System.nanoTime()。

3.为分布式Cache添加索引不会提高它的性能,因为这个方法里不会用到索引。

4.有可能将key序列化并发送到网络上需要花几毫秒,也可能网络环境比较差,或者有JVM正处于Garbage Collection pause时都会让containsKey()性能降低一些。

5.比较标准的测试可以采用循环100000次来平均.

查看全部...

标签: cache 性能 分布式 问题 

分类:分布式CACHE技术 | 固定链接 | 评论: 11 | 查看次数: 2767

如何监控MYSQL的性能

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...

查看全部...

标签: 性能 mysql 监控 

分类:数据库技术 | 固定链接 | 评论: 10 | 查看次数: 3629

Lucene性能分析与优化

附件
切换到幻灯片模式

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...

查看全部...

标签: 性能 优化 lucene 分析 

分类:lucene | 固定链接 | 评论: 22 | 查看次数: 4071

页面响应性能回归到50ms以内

Blog加上在线统计模块后,页面响应性能由原来12ms以内降低到500ms左右,经查时间主要花在jofti的查询操作上。

于是采用了Map Filter算法,直接对Cache过滤,性能从500ms级别又回归到50ms级别。

查看全部...

标签: 性能 页面 响应 

分类:JAVA技术 | 固定链接 | 评论: 13 | 查看次数: 2357

用Resin 3.1.2分析系统性能瓶颈

附件
附件
切换到幻灯片模式

这两天发现blog系统访问响应变慢,经分析发现服务器CPU接近100%,而且降不下来,经分析应该是有大量类似循环的操作导致。

采用Resin 3.1.2,打开后台的Threads监控页面(如附件),访问前台页面,多刷新几次,在后台再刷新Threads页面,如果其中的Active项中含有非Resin或Jdk的方法,说明该方法存在严重的性能问题一直处于执行状态而不能结束,特别是如果是你自己写的方法。

经此方法检查,anotherbug发现当前Active的线程中经常停留在一个方法,于是将该方法暂时禁用,再重启Resin进行跟踪,发现Active不再出现该方法。

附件是Resin的...

查看全部...

标签: 性能 Resin 分析 瓶颈 

分类:Resin | 固定链接 | 评论: 10 | 查看次数: 9589

优化CMP性能 in Weblogic with Long-term Caching

附件
切换到幻灯片模式

在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...

查看全部...

标签: cache 性能 优化 weblogic CMP 

分类:JAVA技术 | 固定链接 | 评论: 18 | 查看次数: 3376

JVM虚拟机速度性能测试

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...

查看全部...

标签: 性能 测试 JVM 虚拟机 速度 

分类:JAVA技术 | 固定链接 | 评论: 6 | 查看次数: 5459

Tuning Java Virtual Machines - 6.0

JVM虚拟机性能优化

<div class="wiki-content">
<table cellpadding='5' width='85%' cellspacing='8px' class='infoMacro' border="0" align='center'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src...

查看全部...

标签: 性能 优化 Tuning JVM 

分类:JVM | 固定链接 | 评论: 2 | 查看次数: 2753

利用 Etag 与 Last-Modified 减轻服务器压力

[code]
//Action

if(!isModified(request, avatar))
{
return "notmodified";
} else
{
response.setDateHeader("Last-Modified", getImageFile(avatar, getSize()).lastModified() + avatar.getID());
response.setHeader("Etag"...

查看全部...

标签: 性能 Etag Last-Modified If-Modified-Since If-None-Match 

分类:JAVA技术 | 固定链接 | 评论: 7 | 查看次数: 2913

JProfiler远程监控主机

远程主机设置

1.JVM参数加上:

-Xjvmpi:entryexit=off -Xrunjprofiler:port=8849 -Xbootclasspath/a:/opt/jprofiler5/bin/agent.jar

2.在/etc/profile加上:

export LD_LIBRARY_PATH=/opt/jprofiler5/bin/linux-x86

重启应用服务器

通过本地主机连接即可监控

查看全部...

标签: 性能 JProfiler 

分类:性能优化 | 固定链接 | 评论: 4 | 查看次数: 2947
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 优化 

分类:数据库技术 | 固定链接 | 评论: 51 | 查看次数: 6288

网格观点: 改进数据访问的性能

网格观点: 改进数据访问的性能
数据和信息网格世界中的技术、方法和趋势


文档选项
将此页作为电子邮件发送





级别: 初级

Matt Haynos (mph@us.ibm.com), 项目总监,Grid Technology and Strategy, IBM


2007 年 5 月 24 日

在本文中我们将探索在分布式环境中用来智能地管理数据所使用的技术、方法和总体发展趋势。作者 Matt Haynos 介绍了网格用户用来在计算中集成数据和进行动态资源管理所使用的一些技术和方法,还阐述了网格业界的一些有趣的发展趋势。...

查看全部...

标签: cache 性能 分布式 网格 

分类:高并发.网格.分布式 | 固定链接 | 评论: 1 | 查看次数: 2022

jofti CACHE索引使用例子及性能分析

[code]
NamedCache cache = com.tangosol.net.CacheFactory.getCache("Online Users");

//jofti index manager init
IndexManager manager = new IndexManagerImpl();
try {
manager.init();
DefaultIndexConfig config = new DefaultIndex...

查看全部...

标签: cache 性能 索引 Jofti 

分类:分布式CACHE技术 | 固定链接 | 评论: 2 | 查看次数: 2261

java应用程序性能分析工具jrat

附件
切换到幻灯片模式

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...

查看全部...

标签: 性能 工具 分析 jrat 

分类:JAVA技术 | 固定链接 | 评论: 17 | 查看次数: 4255