SAY MEDIA
and 1 contributors

NAME

bench - benchmark creation of database records using yuidd versus database's native sequences

USAGE

    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

SYNOPSIS

    bench -n <records> --db <local mysql database name> --yuidd <yuidd host and port>

DESCRIPTION

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.

TODO

  • can we compare against a LiveJournal-like app-managed sequence?

  • is data realistic?

  • is this useful at all whatsoever?