RUBiS 介绍

RUBiS作为一款标准负载测试程序,经常被用于科研界负载模拟、服务器负载测试等用途。然而这款标准测试程序在04年后就停止更新了,材料少之又少,科研界还继续用于数据仿真。。。科研界和工业界之间真的隔着银河!瞎整了一两周,做个总结,也为后者提供一些材料吧~~~

官网介绍:http://rubis.ow2.org/index.html

RUBiS is an auction site prototype modeled after eBay.com that is used to evaluate application design patterns and application servers performance scalability.
Our auction site benchmark implements the core functionality of an auction site: selling, browsing and bidding. We do not implement complementary services like instant messaging or newsgroups. We distinguish between three kinds of user sessions: visitor, buyer, and seller. For a visitor session, users need not register but are only allowed to browse. Buyer and seller sessions require registration. In addition to the functionality provided during visitor sessions, during a buyer session users can bid on items and consult a summary of their current bids, rating and comments left by other users. Seller sessions require a fee before a user is allowed to put up an item for sale. An auction starts immediately and lasts typically for no more than a week. The seller can specify a reserve (minimum) price for an item.
RUBiS is a free, open source initiative.

译:

RUBiS是拍卖网站原型仿照eBay.com是用来评估应用程序的设计模式和应用程序服务器的性能可伸缩性。

我们的拍卖网站基准实现拍卖网站的核心功能:销售、浏览和招标。我们不实现互补服务如即时消息或新闻组。我们区分三种用户会话:游客,买家和卖家。游客会话,用户不需要注册,但只允许浏览。买方和卖方会话需要注册。除了客人会议期间提供的功能,在买家用户可以投标项目和咨询的总结当前出价,留下评级和评论其他用户。卖方会议需要一笔费用,然后才允许进行用户发起了一项出售。拍卖开始立即和持续时间通常不超过一个星期。卖方可以指定为一个项目储备(最小)的代价。

RUBiS是一个免费的开放源码项目。

RUBiS目录介绍:http://rubis.ow2.org/doc/install.html

/RUBiSThis directory contains the main Makefile/build.xml file and the license agreement.
/RUBiS/config.mkMakefile configuration file (if you use make you should edit this file to match your configuration)
/RUBiS/build.propertiesAnt build files configuration file (if you use ant you should edit this file to match your configuration)
/RUBiS/benchcontains the results of the measurements and the scripts to generate graphs and statistics.
/RUBiS/ClientBenchmark client to simulate clients and perform measurements.
/RUBiS/databasecontains the SQL files among with the lists of regions and categories used to generate the database data.
/RUBiS/EJB_HTMLcontains the html files for the version of RUBiS that is designed to be used with EJB only.
/RUBiS/ejb_rubis_webcontains the html files for the EJB versions of RUBiS structured in war format. The jar file containing the servlets (generated during compilation) should be place in the WEB_INF/lib directory.
/RUBiS/EJB_DB_idEJB version of RUBiS with entity beans Container Managed Persistence and database generated Primary Keys (works only with JOnAS, JBoss does not support this implementation)
/RUBiS/EJB_EntityBean_idEJB version of RUBiS with entity beans CMP and bean generated Primary Keys (works with JOnAS and JBoss)
/RUBiS/EJB_EntityBean_id_BMPEJB version of RUBiS with entity beans BMP and bean generated Primary Keys (works with JOnAS and JBoss)
/RUBiS/EJB_Session_facadeEJB version of RUBiS with façade Session beans and entity beans CMP (works with JOnAS and JBoss)
/RUBiS/EJB_SessionBeanEJB version of RUBiS with session beans and Bean Managed Persistence (works with JOnAS and JBoss)
/RUBiS/EJB_locale_remoteEJB version of RUBiS with façade Session beans and entity beans CMP1.1 using EJB2.0 local interfaces (works with JOnAS and JBoss)
/RUBiS/MDBEJB version of RUBiS with Message Driven Beans (works with JOnAS and JBoss)
/RUBiS/EJB_locale_remote_CMP2.0EJB version of RUBiS with façade Session beans and entity beans CMP2.0 using local interfaces (works with JBoss)
/RUBiS/PHPcontains the html files and PHP scripts for the version of RUBiS that is designed to be used with PHP only.
/RUBiS/ServletsThe Java Servlets version of RUBiS that is designed to be used with Java servlets only.
/RUBiS/Servlet_HTMLcontains the html files for the version of RUBiS that is designed to be used with Java servlets only.
/RUBiS/workloadcontains the files that describes the workload of the bidding system. We designed various patterns of request distribution. The browse_only_transition pattern simulate user's behavior that only generate read requests from the database.
The default_transition pattern is a mix of read and write requests. It simulates a user who looks for items and categories but also who can sell or put bids on items.

For each EJB version (DB_id, EntityBean_id, Session_facade or SessionBean) the directory tree is as follow:

/RUBiS/EJB_VersionNamecontains the Makefile, build.xml file for ant, the mysql and jonas properties files and the scripts to start and stop Tomcat and JOnAS.
/RUBiS/EJB_VersionName/edu/rice/rubis/beanscontains the source code of the beans.
/RUBiS/EJB_VersionName/edu/rice/rubis/beans/servletscontains the source code of the servlets used to access the beans.
/RUBiS/EJB_VersionName/edu/META-INFcontains the deployment descriptors of the EJB server you are currently using (the files are automatically copied in this directory when using the Makefile to compile).
/RUBiS/EJB_VersionName/edu/META-INF/JBosscontains the deployment descriptors for JBoss: ejb-jar.xml, jboss.xml and jaws.xml or jbosscmp-jdbc.xml.
/RUBiS/EJB_VersionName/edu/META-INF/JOnAScontains the deployment descriptors for JOnAS: ejb-jar.xml and jonas-ejb-jar.xml.
/RUBiS/EJB_VersionName/doccontains the code documentation in the javadoc format.

For the Java Servlets version the directory tree is as follow:

/RUBiS/Servletscontains the Makefile, build.xml file for ant and the scripts to start and stop Tomcat.
/RUBiS/Servlets/edu/rice/rubis/servetscontains the source code of the servlets.
/RUBiS/Servlets/doccontains the code documentation in javadoc format.

转载于:https://my.oschina.net/LinJunXin/blog/792436

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值