Comments (11)
I think our big initial play should be cluster overhaul. I think a lot of us want it, and it makes the most compelling sense as the big "next major features".
from valkey.
Ignore my spam references above, I was reviewing the diff manually over Github UI.
PR has now been opened; #351
This PR is part one of the three upcoming PRs;
CLUSTER SLOT-STATS
command introduction, withkey-count
support --> This PR.cpu-usec
supportmemory-bytes
support
from valkey.
I've also re-added my favorite creature comfort. @placeholderkv/core-team thoughts?
from valkey.
@kyle-yh-kim Yeah CLUSTER SLOT-STATS. We're a bit overloaded with the forking stuff, new core team, new project, etc. but I think we want this for our next release. There was already a lot of review done and I think it was almost ready to merge. Do you want to bring over your PR?
from valkey.
I fully agree!
from valkey.
Sure, metrics seem fine. I don't have strong opinions about it, only that I think fixing the cluster consistency problems is more important than metrics.
from valkey.
from valkey.
Good to hear back on this thread, hope you all have been doing well.
Where we left-off
In total, there were 3 proposed metrics under CLUSTER SLOT-STATS
command group;
key_count
cpu_usec
memory_bytes
Next steps
memory_bytes
is the most complex of all, but this shouldn't stop us from implementing the first two metrics to gain some momentum.
I will open two PRs for key_count
and cpu_usec
in the coming days. These PRs will be based off of the already existing PRs for key_count and cpu_usec under Redis repository.
As for CLUSTER SLOT-STATS
command format, below was the latest development we agreed upon. Lengthy discussion and rationale can be found here and here.
CLUSTER SLOT-STATS [SLOTSRANGE start-slot end-slot [start-slot end-slot ...]]| [ORDERBY column [LIMIT limit] [ASC|DESC]]
from valkey.
It is great, and I prefer to add this feature in CLUSTER INFO.
from valkey.
It is great, and I prefer to add this feature in CLUSTER INFO.
Why cluster info? It's a free form field I guess, it could be a new sub info field I suppose
from valkey.
Thanks for chiming in. Personally, I'm opposed to CLUSTER INFO
. We could perhaps add aggregated information under CLUSTER INFO
, but not for the slot level metrics themselves.
Imagine dumping ~16384 slot level metrics under CLUSTER INFO
. This would unnecessarily bloat the info string, when the user may have only wanted to check cluster_state:ok
.
A new command dedicated for slot level metrics querying, in this case, CLUSTER SLOT-STATS
, is more suitable. For reference, below was the latest command format we agreed on.
CLUSTER SLOT-STATS
[SLOTSRANGE start-slot end-slot [start-slot end-slot ...]]|
[ORDERBY column [LIMIT limit] [ASC|DESC]]
I'll wait for the core team to finalize this decision, before opening the PRs.
from valkey.
Related Issues (20)
- [NEW] Dual stack (IPv4 & IPv6) HOT 12
- [NEW]module filter support CommandFilterKeyAtPos HOT 2
- Implement MODULE RELOAD command HOT 3
- [NEW] Consider support for mimalloc allocator HOT 3
- [NEW] Extended Help for Commands.
- [BUG] rebranding change needed in clocksource syscheck HOT 2
- Rename and change variable names in `utils/redis_init_script`
- [NEW] Implement stream PUBSUB
- Jemalloc defrag situation HOT 8
- A strategy for performance testing HOT 9
- Inconsistent command behavior for keyless read commands
- ACL behavior on keyless commands HOT 2
- [BUG] Install fails with BUILD_TLS=yes, USE_REDIS_SYMLINKS=no HOT 8
- [NEW] Cluster V2 Discussion HOT 9
- [NEW] Support for wasm besides LUA as a scripting engine
- naming conventions and links should be changed from redis to valkey HOT 2
- [BUG] Wrong version number HOT 9
- Key/Value Embedding in Main Dictionary HOT 5
- [NEW] Add subcommands for io-threads in DEBUG command.
- [NEW] Add tests for io-threads.
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 valkey.