Closed zeeshanlakhani closed 8 years ago
Tests all pass. Cover shows the changed lines are run many times (thanks quickcheck!) All looks good to me. Once some info on perf improvement is added I'll Plus One. Thanks!
If I get a chance, I'll re-run these against this branch: http://kyle.marek-spartz.org/posts/2014-12-01-benchmarking-large-riak-data-types.html
Graphs/discussion y'all (again, pretty minor improvements, but improvements nonetheless)... more tracing after the rest of the benching needs are done and 2.2 is out:
For sets themselves, things mostly stayed the same, but single-set comparisons (no distribution of key PUTs) showcased improved latencies:
And we see something similar w/ a larger, .5 megabyte object:
For the map, we see latencies average a lower-rate w/ complex maps (containing multiple types):
And a wee-bit better throughput on average:
And, as w/ single-sets above, we can notice that even though we still increase in linear time (wrt latencies), the overall slope of the ordsets
runs are better overall, especially w/ multi-op maps:
@zeckalpha thanks! I just added up some of the bench graphs. Yeah, it's pretty minor, but we also don't see worse perf w/ maps, as I was worried about this check. Also, the b_b driver used is here: https://github.com/basho/basho_bench/tree/new_driver/zl/riak_dt-driver-start-with-sets... over protocol buffers (and the erlang-client).
Neat!
+1 37a3bb335391efa50e26305458024d3d8421e1ab
Nice! very thorough. Thanks @zeeshanlakhani
@borshop merge
…cross datatypes (orswot, od_flag, map) for small perf gain.
Benchmark posts added to thread. Driver used is in PR https://github.com/basho/basho_bench/tree/new_driver/zl/riak_dt-driver-start-with-sets.
Please review @russelldb!