Commit af51607
authored
Optimize ScyllaDB usage (#3985)
## Motivation
There are some optimization that we can do in how we're using ScyllaDB
## Proposal
This PR removes the use of:
* Non token aware queries
* Unpaged queries
* Most usages of `ALLOW FILTERING` (the ones remaining should be fine)
* Non prepared statements
Also:
* Tuned page creation and other settings a bit
* Some refactoring/code cleanup
## Test Plan
CI + deployed a network, benchmarked it, and saw an over 10x decrease in ScyllaDB`s write latency
## Release Plan
- Nothing to do / These changes follow the usual release cycle.1 parent f59bf80 commit af51607
File tree
5 files changed
+319
-230
lines changed- examples
- kubernetes/linera-validator/templates
- linera-views
- src/backends
5 files changed
+319
-230
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
0 commit comments