View Source

As of the current version of the Java Load Generator there are only two workloads that can be used with for load generation. If you are using a client supporting the memcached protocol used the MemcachedCoreWorkload and if you are using the Database Protocol use the CoreWorkload. These can be specified in you properties file as follows.

{code}
workload=com.ycsb.yahoo.workloads.MemcachedCoreWorkload
{code}
or
{code}
workload=com.ycsb.yahoo.workloads.DBCoreWorkload
{code}

h4. MemcachedCoreWorkload

This workload is used for all clients that utilize the memcached protocol. This means that your database uses operations such as get, set, incr,and delete. If you are using Spymemcached or the Membase client to generate a load for your database then specify the MemcachedCoreWorkload as your protocol.

h4. DBCoreWorkload

This workload is for databases that utilize commands such as insert, update, and scan. This workload should be used when using client for MongoDB, Cassandra, and MySQL.