Skip to content

Commit 28c02aa

Browse files
authored
async io threads (#1020)
1 parent 13328f6 commit 28c02aa

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

content/commands/client-list/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ Here is the meaning of the fields:
116116
* `resp`: client RESP protocol version. Added in Redis 7.0
117117
* `rbp`: peak size of the client's read buffer since the client connected. Added in Redis 7.0
118118
* `rbs`: current size of the client's read buffer in bytes. Added in Redis 7.0
119+
* `io-thread`: id of I/O thread assigned to the client. Added in Redis 8.0
119120

120121
The client flags can be a combination of:
121122

content/commands/info/index.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ The optional parameter can be used to select a specific section of information:
4949
* `clients`: Client connections section
5050
* `memory`: Memory consumption related information
5151
* `persistence`: RDB and AOF related information
52+
* `threads`: I/O threads information
5253
* `stats`: General statistics
5354
* `replication`: Master/replica replication information
5455
* `cpu`: CPU consumption statistics
@@ -294,6 +295,15 @@ If a load operation is on-going, these additional fields will be added:
294295
* `loading_loaded_perc`: Same value expressed as a percentage
295296
* `loading_eta_seconds`: ETA in seconds for the load to be complete
296297

298+
The **threads** section provides statistics on I/O threads.
299+
The statistics are the number of assigned clients,
300+
the number of read events processed, and the number of write events processed.
301+
Added in Redis 8.0.
302+
303+
For each I/O thread, the following line is added:
304+
305+
* `io_thread_XXX`: `clients=XXX,reads=XXX,writes=XXX`
306+
297307
Here is the meaning of all fields in the **stats** section:
298308

299309
* `total_connections_received`: Total number of connections accepted by the
@@ -357,8 +367,8 @@ Here is the meaning of all fields in the **stats** section:
357367
* `dump_payload_sanitizations`: Total number of dump payload deep integrity validations (see `sanitize-dump-payload` config).
358368
* `total_reads_processed`: Total number of read events processed
359369
* `total_writes_processed`: Total number of write events processed
360-
* `io_threaded_reads_processed`: Number of read events processed by the main and I/O threads
361-
* `io_threaded_writes_processed`: Number of write events processed by the main and I/O threads
370+
* `io_threaded_reads_processed`: Number of read events processed by I/O threads
371+
* `io_threaded_writes_processed`: Number of write events processed by I/O threads
362372
* `client_query_buffer_limit_disconnections`: Total number of disconnections due to client reaching query buffer limit
363373
* `client_output_buffer_limit_disconnections`: Total number of disconnections due to client reaching output buffer limit
364374
* `reply_buffer_shrinks`: Total number of output buffer shrinks

0 commit comments

Comments
 (0)