Kayak
Kayak copied to clipboard
About the YCSB+T benchmark
Hi @jimmyyou .
I have a question about the implementation of YCSB+T.
Where did you get the latest YCSB+T project?
The only place I can find to fork it is on Akon Dey's github. https://github.com/akon-dey/YCSB
Could you help me to implement the ycsb+t benchmark correctly?
In his article he reports having such methods:
" • doTransactionInsert() creates a new account with an initial balance captured from doTransactionDelete() operation described below.
• doTransactionRead() reads a set of account balances determined by the key generator.
• doTransactionScan() scans the database given the start key and the number of records and fetches them from the data base.
• doTransactionUpdate() reads a record and add $1 from the balance captured from delete operations to it and write it back.
• doTransactionDelete() reads an account record, add the amount to the captured the balance (capture used in doTransactionInsert()) and then deletes the record.
• doTransactionReadModifyWrite() reads two records, subtracts $1 from the one of the two and adds $1 to the other before writing them both back. "
In the akon repository where I made the fork, I didn't find the implementation of the methods doTransactionInsert() , doTransactionRead() , doTransactionScan() , doTransactionUpdate() and doTransactionDelete().
I just noticed that the doTransactionReadModifyWrite() method is implemented, where it subtracts the value 1 from account A and assigns that value to account B.
Regards, Caio