2007-05-02
Memcached性能测试
以1w个对象的get,set,delete三种操作进行测试
当对象是0.1k时:
delete avg time per req 0.1817 ms (total: 1817 ms)
set avg time per req 0.1955 ms (total: 1955 ms)
gets avg time per req 0.2729 ms (total: 2729 ms)
当对象是1k时:
delete avg time per req 0.2431 ms (total: 2431 ms)
set avg time per req 0.2821 ms (total: 2821 ms)
get avg time per req 0.3351 ms (total: 3351 ms)
也就是查询时性能最差
另外在装memcached在64位机器上要注意,libevent默认是编译成32的,需要在makefile中指定是64位。
否则找不到相应的包。

当对象是0.1k时:
delete avg time per req 0.1817 ms (total: 1817 ms)
set avg time per req 0.1955 ms (total: 1955 ms)
gets avg time per req 0.2729 ms (total: 2729 ms)
当对象是1k时:
delete avg time per req 0.2431 ms (total: 2431 ms)
set avg time per req 0.2821 ms (total: 2821 ms)
get avg time per req 0.3351 ms (total: 3351 ms)
也就是查询时性能最差
另外在装memcached在64位机器上要注意,libevent默认是编译成32的,需要在makefile中指定是64位。
否则找不到相应的包。

- 09:32
- 浏览 (478)
- 评论 (0)
- 分类: 计算机与 Internet
- 相关推荐
发表评论
- 浏览: 13808 次

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
使用JBPM实现动态会签
太感谢楼主的分享精神了,搞了好久的会签 被楼主点通了,谢谢
-- by rebellan -
terracotta在hibernate应 ...
没有,之前没有出现过这种情况,使用terracotta才出现的,去掉就不会出现这 ...
-- by pppppp -
terracotta在hibernate应 ...
是不是你让sessionfactory新建表了
-- by daquan198163 -
使用JBPM实现动态会签
问题已经解决。是测试程序测试方法不对造成的。
-- by llandyl -
使用JBPM实现动态会签
如果将流程定义文件修改,变成两次调用生成<node name="forea ...
-- by llandyl






评论排行榜