sgup432 commented on PR #16657:
URL: https://github.com/apache/lucene/pull/16657#issuecomment-5640035112
Benchmarks:
Comparing the 16 partition vs 1 partition
```
┌────────────────────────────────────────┬────────┬──────────┬───────────────┬─────────┐
│ Workload │ Metric │ V2 (16p) │ Baseline (1p)
│ Speedup │
├────────────────────────────────────────┼────────┼──────────┼───────────────┼─────────┤
│ Uniform (distinct) │ mixed │ 9.19M │ 4.16M
│ 2.21× │
├────────────────────────────────────────┼────────┼──────────┼───────────────┼─────────┤
│ │ get │ 3.99M │ 1.56M
│ 2.56× │
├────────────────────────────────────────┼────────┼──────────┼───────────────┼─────────┤
│ │ put │ 5.20M │ 2.61M
│ 2.00× │
├────────────────────────────────────────┼────────┼──────────┼───────────────┼─────────┤
│ Zipf (skewed) │ mixed │ 12.53M │ 6.86M
│ 1.83× │
├────────────────────────────────────────┼────────┼──────────┼───────────────┼─────────┤
│ │ get │ 7.07M │ 2.53M
│ 2.80× │
├────────────────────────────────────────┼────────┼──────────┼───────────────┼─────────┤
│ │ put │ 5.45M │ 4.33M
│ 1.26× │
├────────────────────────────────────────┼────────┼──────────┼───────────────┼─────────┤
│ Zipf + invalidation (cleanup running) │ get │ 10.68M │ 3.57M
│ 2.99× │
├────────────────────────────────────────┼────────┼──────────┼───────────────┼─────────┤
│ │ put │ 6.44M │ 3.52M
│ 1.83× │
├────────────────────────────────────────┼────────┼──────────┼───────────────┼─────────┤
│ Eviction-heavy │ mixed │ 3.09M │ 2.15M
│ 1.44× │
├────────────────────────────────────────┼────────┼──────────┼───────────────┼─────────┤
│ │ get │ 0.31M │ 0.16M
│ 1.92× │
├────────────────────────────────────────┼────────┼──────────┼───────────────┼─────────┤
│ │ put │ 2.78M │ 1.99M
│ 1.40× │
└────────────────────────────────────────┴────────┴──────────┴───────────────┴─────────┘
```
Worst case for this cache:
Single hot query - as it is always routed to the same partition:
```
┌────────┬──────────┬───────────────┬───────┐
│ Metric │ V2 (16p) │ Baseline (1p) │ Ratio │
├────────┼──────────┼───────────────┼───────┤
│ mixed │ 11.49M │ 11.98M │ 0.96× │
├────────┼──────────┼───────────────┼───────┤
│ get │ 3.10M │ 3.29M │ 0.94× │
├────────┼──────────┼───────────────┼───────┤
│ put │ 8.39M │ 8.69M │ 0.97× │
└────────┴──────────┴───────────────┴───────┘
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]