Skip to content
This repository has been archived by the owner on Aug 23, 2021. It is now read-only.

Auctionmark on MyRocks #246

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions config/auctionmark_config_myrocks.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?xml version="1.0"?>
<parameters>

<!-- Connection details -->
<dbtype>myrocks</dbtype>
<driver>com.mysql.jdbc.Driver</driver>
<DBUrl>jdbc:mysql://localhost:3306/auctionmark</DBUrl>
<username>root</username>
<password></password>
<isolation>TRANSACTION_REPEATABLE_READ</isolation>

<!-- Scalefactor in AuctionMark scales by *1000 the number of customers-->
<scalefactor>10</scalefactor>

<!-- The workload -->
<terminals>10</terminals>
<works>
<work>
<time>300</time>
<rate>10000</rate>
<weights>45, 10, 20, 2, 1, 4, 10, 5, 3</weights>
</work>
</works>

<!-- AuctionMark Procedures declaration -->
<transactiontypes>
<transactiontype>
<name>GetItem</name>
</transactiontype>
<transactiontype>
<name>GetUserInfo</name>
</transactiontype>
<transactiontype>
<name>NewBid</name>
</transactiontype>
<transactiontype>
<name>NewComment</name>
</transactiontype>
<transactiontype>
<name>NewCommentResponse</name>
</transactiontype>
<transactiontype>
<name>NewFeedback</name>
</transactiontype>
<transactiontype>
<name>NewItem</name>
</transactiontype>
<transactiontype>
<name>NewPurchase</name>
</transactiontype>
<transactiontype>
<name>UpdateItem</name>
</transactiontype>
</transactiontypes>
</parameters>
Loading