Comments (6)
Thanks @ivanvc for raising this issue. Please see my response below,
- What would be a good set of benchmark parameters to run?
For the writing test, I think we should commit the TXN at least multiple times, i.e 10 times. So options.Iterations/options.BatchSize > 10. For the options.BatchSize, it should be big enough, i.e. at least 10K.
- Should this run on GitHub Actions or as a Prow Job?
We can add it on github action firstlyh. Eventually we may want to migrate all workflow checks to Prow.
What would be the priority for this task?
It may not be a urgent task.
from bbolt.
Eventually we may want to migrate all workflow checks to Prow.
Is it any reason to move workflow to Prow?
from bbolt.
It's part of the effort of kubernetes/k8s.io#6102.
At least the Prow has more powerful machine, we can have shorter running time for the performance test. Please see #691
from bbolt.
It's part of the effort of kubernetes/k8s.io#6102.
At least the Prow has more powerful machine, we can have shorter running time for the performance test. Please see #691
I was thinking that github action can provide VM which supports nested virtualization and we can simulate real power-failure. And it's more easy to debug CI changes in GitHub action. Just my two cents. Anyway, thanks for sharing the background.
from bbolt.
The initial implementation in #750 is benchmarking only the default write and read modes (write=rnd, read=seq).
@ahrtr, should we expand the benchmarks to other combinations?
from bbolt.
@ahrtr, should we expand the benchmarks to other combinations?
Yes, it's a good point. etcd is actually sequentially writing the keys. We need to consider different write modes and read modes, also different key & value sizes. Usually K8s's value size is bigger than 1K+? Could you draft a simple doc /doc/benchmark.md
firstly? thx
from bbolt.
Related Issues (20)
- Panic happens when opening a boltdb HOT 2
- Nil pointer dereference in bbolt 1.4.0-alpha.0 detected by robustness tests HOT 3
- Dramatic drop in sequential read performance in main compared to tag v1.3.8 HOT 41
- Can not distinguish between "does not exist" and "has no value" HOT 5
- Use cobra ExactArgs
- Rename cobra commands
- Cursor.Prev() out of range issue v1.3.9 HOT 4
- Add check-page sub command HOT 1
- Plan to release v1.3.10 HOT 5
- Race tests timing out trying to run on user forks
- Extend the maintainers of bbolt HOT 6
- Proposal: Add `ForceMunlock` option HOT 9
- Bolt bucket missing when process crashes in the middle of a transaction HOT 3
- Introduce freelist interface HOT 8
- after restart, bbolt db failed to get all reachable pages HOT 9
- Open blocks even the ReadOnly option is set HOT 2
- Refactor freelist management & add more dedicated tests HOT 6
- freelist hashmap/array inconsistency on page reload HOT 1
- The `freelist.allocs` isn't rollbacked when a tx is rollbacked
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bbolt.