Skip to content

Commit e83fea4

Browse files
committed
async io thread
1 parent 3541d0e commit e83fea4

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

commands/client-list.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Here is the meaning of the fields:
3434
* `user`: the authenticated username of the client
3535
* `redir`: client id of current client tracking redirection
3636
* `resp`: client RESP protocol version. Added in Redis 7.0
37+
* `io-thread`: id of I/O thread assigned to the client. Added in Redis 8.0
3738

3839
The client flags can be a combination of:
3940

commands/info.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ The optional parameter can be used to select a specific section of information:
77
* `clients`: Client connections section
88
* `memory`: Memory consumption related information
99
* `persistence`: RDB and AOF related information
10+
* `threads`: I/O threads information
1011
* `stats`: General statistics
1112
* `replication`: Master/replica replication information
1213
* `cpu`: CPU consumption statistics
@@ -251,6 +252,15 @@ If a load operation is on-going, these additional fields will be added:
251252
* `loading_loaded_perc`: Same value expressed as a percentage
252253
* `loading_eta_seconds`: ETA in seconds for the load to be complete
253254

255+
The **threads** section provides statistics on I/O threads.
256+
The statistics are the number of assigned clients,
257+
the number of read events processed, and the number of write events processed.
258+
Added in Redis 8.0.
259+
260+
For each I/O thread, the following line is added:
261+
262+
* `io_thread_XXX`: `clients=XXX,reads=XXX,writes=XXX`
263+
254264
Here is the meaning of all fields in the **stats** section:
255265

256266
* `total_connections_received`: Total number of connections accepted by the
@@ -313,8 +323,8 @@ Here is the meaning of all fields in the **stats** section:
313323
* `dump_payload_sanitizations`: Total number of dump payload deep integrity validations (see `sanitize-dump-payload` config).
314324
* `total_reads_processed`: Total number of read events processed
315325
* `total_writes_processed`: Total number of write events processed
316-
* `io_threaded_reads_processed`: Number of read events processed by the main and I/O threads
317-
* `io_threaded_writes_processed`: Number of write events processed by the main and I/O threads
326+
* `io_threaded_reads_processed`: Number of read events processed by the I/O threads
327+
* `io_threaded_writes_processed`: Number of write events processed by the I/O threads
318328
* `client_query_buffer_limit_disconnections`: Total number of disconnections due to client reaching query buffer limit
319329
* `client_output_buffer_limit_disconnections`: Total number of disconnections due to client reaching output buffer limit
320330
* `reply_buffer_shrinks`: Total number of output buffer shrinks

0 commit comments

Comments
 (0)