Lower throughput while having more and more watchers #19064
Labels
area/performance
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Bug report criteria
What happened?
I am doing an ETCD throughput benchmark. I observed a throughput drop while having more and more watchers.
How I conduct my benchmark
Key length ~10 bytes, value length 1301 bytes
The full code can be found here: https://gist.github.com/jokerwyt/b29b5113d0a5f75f6d5621d05d627230
Here is my result.
What did you expect to happen?
I expect etcd has the same performance while having 0 or more watchers.
How can we reproduce it (as minimally and precisely as possible)?
I have a test script, use this combining the go benchmark code.
But you may need to set up an etcd yourself and do some small modifications to the script.
https://gist.github.com/jokerwyt/955a810bfe28b342f6ace11ba840e36c
Anything else we need to know?
No response
Etcd version (please run commands below)
3.5.10
Etcd configuration (command line flags or environment variables)
Etcd debug information (please run commands below, feel free to obfuscate the IP address or FQDN in the output)
Relevant log output
No response
The text was updated successfully, but these errors were encountered: