hbase PerformanceEvaluation benchmark - 0.94.2 VS 0.94.16 VS 0.96

3 篇文章 0 订阅

i worked to benchmark hbase performance this weekend as i never used to do this befoer.after completion of these tasks,i found some good test methods and implied interesting.

 



 

 some conclusions:

---- app level ---

a.hbase 94.2 is little faster then 94.16 in writing;but in the opposite in the read case(so maybe thies is the cause why the network bandwidh is more clear then the later,see downgrade hbase from 0.94.16 to 0.94.2 )

 

b.as knowned knowledge,random write should be faster then sequantial one,but in this casees,i used only one client in more types,so its not explict;and in read types,sequantial is mutch faster then random.

so in general environment,i think hbase will be represnted like below:

 

   random write > sequaltial write > sequentail read > random read

 

('>' is meant by throughput)

 

c.use presplit will be much faster than not when import huge data using multi-clients

d.cirtial two numbers are showed in figure.

e.the reuslt maybe affect by the host environment(hard/solft wares),jvm settings,network(if run in distributed cluster)

f.you MUST run the same conditions to compare both versions,else it is meanless.

g.using more data or more elapse time to run will be more correct in in theory.

 

----- host level ---

h.when running in mbp(ssd,maybe 800MB/sec at least),the io is not the bottle,so it will be much faster than common disks in linux.in case 1,it is 24 ms in mbp but 58 ms in linux,so i think the io cose in later will be think as :

 

58 - 24 ~ 30ms
 

 

=======

some questionable points

1.rows in the script is 1M by default,but i always see twice this number showed in GUI in reading case;

and when writing,this is about 1/5 to 1/10 percentage of 1M which is expected to write to it.

 

anyone can give me a way to figure out them?thanks

 

====== TODO hbase 96.x 

 

 

again ,if you want to test hbase/hadoop... completely,u will spend lot of time to plan,run,compare and adjust parameters for optimizating of it!

 

 

ref:

some wiki benchmark results

ycsb reulsts 

spaggiria:HBase performances/load tests

 

hbase-client-project-2.4.16.jar是一个用于连接HBase数据库的Java客户端项目。HBase是一个分布式、面向列的NoSQL数据库,它可以存储大规模数据,并提供高可靠性和高性能的数据访问。而hbase-client-project-2.4.16.jar则是用来连接HBase数据库的Java客户端库。通过这个库,开发人员可以在Java应用中方便地访问HBase数据库,进行数据的读取、写入和管理操作。 hbase-client-project-2.4.16.jar库提供了丰富的API,使得开发人员可以编写简洁、高效的代码来操作HBase数据库。通过这个库,可以轻松地建立与HBase集群的连接,创建、删除表格,进行数据的增删改查等操作。此外,hbase-client-project-2.4.16.jar也提供了一些高级特性,比如支持过滤器、批量操作、数据版本控制等功能,让开发人员能够更加灵活地利用HBase数据库进行数据处理。 除此之外,hbase-client-project-2.4.16.jar还支持与HBase的安全认证和权限控制,可以保障数据访问的安全性。开发人员可以使用这个库来编写安全的Java应用,确保对HBase数据库的数据进行合法、受控的访问。 总之,hbase-client-project-2.4.16.jar是一个强大、灵活的Java客户端库,为开发人员提供了便捷的方式来连接、操作HBase数据库。无论是小规模的应用还是大规模的数据处理需求,它都能够满足开发人员的要求,帮助他们更有效地利用HBase数据库。 (字数: 258)
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值