bench - benchmark creation of database records using yuidd versus database's native sequences
mysqladmin -u root create yuidtest mysql -u root -e 'grant all privileges on yuidtest.* to '`whoami`'@localhost' bin/yuidd --port 7357 --daemon scripts/bench -n 50000 --db yuidtest --yuidd localhost:7357
bench -n <records> --db <local mysql database name> --yuidd <yuidd host and port>
This is an experiment in finding and evaluating performance metrics for the Data::YUID system and server as a replacement for the automatic, native numbering of records by the database.
can we compare against a LiveJournal-like app-managed sequence?
is data realistic?
is this useful at all whatsoever?
To install Data::YUID, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::YUID
CPAN shell
perl -MCPAN -e shell install Data::YUID
For more information on module installation, please visit the detailed CPAN module installation guide.