RUBiS
Updated version of the RUBiS benchmark (http://rubis.ow2.org/)
Install / Use
/learn @uillianluiz/RUBiSREADME
RUBiS
This is a modified implementation of RUBiS (RUBiS: Rice University Bidding System) that supports PHP7, PDO connections, and faster initialization of the database.
More information on the RUBiS project, and for the original source code, check here.
Requirements:
- PHP7
- MySQL (Other database servers may be supported. They were not tested, though)
- Apache
- Java (for building and executing the client)
- Python (optional, for setting up the
rubis.propertiesfile)
Installation steps:
- Clone this repository
git clone https://github.com/uillianluiz/RUBiS.git
- Install MySQL
sudo apt-get install mysql-server
- Install Apache2
sudo apt-get install apache2
- Install PHP7
sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql- If later on you have MySQL PDO driver problems, check this thread out.
- Install Java
sudo apt-get install default-jdk
- Install Python (optional)
sudo apt-get install python
Configuration steps:
- Create a rubis database
mysql -uroot -pCREATE DATABASE rubis;
- Import rubis tables and default data to the database
cd databasemysql -uroot rubis -p < rubis.sqlmysql -uroot rubis -p < categories.sqlmysql -uroot rubis -p < regions.sql
- Modify the database connection configuration
nano PHP/DBConnection.php
- Copy the PHP folder to the apache location
sudo cp -r PHP/ /var/www/html/
- Go to this url and check if it works fine.
- Configure the rubis client properties (optional, you may manually edit the
rubis.propertiesfile)cd Clientpython generateProperties.py
- Initialize the database (learn more)
- Updated and faster method:
cd Client- Modify your database connection in the file (lines 24, 26 and 27):
nano edu/rice/rubis/client/InitDBSQL.java
make clientmake initDBSQL PARAM="all"
- Original method:
cd Clientmake clientmake initDB PARAM="all"
- Updated and faster method:
Emulator execution:
- You may modify the
workload_transition_tableor other configurations on therubis.propertiesfile. - Other Information regarding the emulator you may found here.
- To execute the benchmark:
make emulator
Extra options:
- The regions and categories may be altered. Check file
database/READMEfor more information.
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
