Database Reference
In-Depth Information
scanproportion=0
insertproportion=0
Here, hosts and port are Cassandra Thrift host and rpc_port
settings. fieldcount is the total number of fields to be stored per
row. threads determine the number of parallel executions. Also
readproportion and updateproportion can be tweaked
during the tests. For example for heavy write only scenarios, you may
keep insertproportion to 1.0 and rest as 0.0! Similarly for
heavy read scenarios can set readproportion to 1.0.
5.
Finally, run this command:
bin/ycsb load cassandra-10 -P /home/vivek/
source/book_source/ycsb/
casssandra-ycsb.properties -threads 10
The output from running the preceding command will be a fairly large. Figure 8-9
shows what is interesting from a performance perspective.
Figure 8-9 . Output of running load using the YCSB Cassandra project
In Figure 8-9 , the key points are average throughput and latency. For this run there
are 4291 operations per second and latency is 1545 us for a total of 1000 operations.
YCSB offers a great way to evaluate databases from the client perspective. You
may do a quick analysis of multiple clients' performance against Cassandra. Or you
can also use it for performance comparison among multiple datastores. The framework
is completely decoupled which makes it fairly easy to add clients for new datastores or
add multiple clients for same datastore.
Coming back to read operation analysis via YCSB, we can run it as
 
 
Search WWH ::




Custom Search