dragonfly icon indicating copy to clipboard operation
dragonfly copied to clipboard

Load test Dragonfly for processing pub sub commands; When the request volume reaches 40W TPS, a performance bottleneck issue occurs.

Open Memorydoc123 opened this issue 4 months ago • 1 comments

PID: 71740 CPU at full capacity

Image

Continue to track the program with 100% CPU usage: PID: 7176

Image

It was found that a large number of write response handle operations were carried out, causing the single thread to be completely blocked.

Image

Could you please take a look at how Dragonfly can meet the TPS performance requirement of 40W for the pub/sub commands?

Explanation: Drafgonfly is deployed based on Docker and is installed on a 64C 128 ECS machine.

docker run -d --name dragonfly_db --ulimit memlock=-1 docker.dragonflydb.io/dragonflydb/dragonfly --proactor_threads 64 --maxmemory 64G --multi_exec_mode 2 --default_lua_flags=allow-undeclared-keys --lock_on_hashtags

Memorydoc123 avatar Sep 17 '25 04:09 Memorydoc123

what's a 40W?

romange avatar Sep 17 '25 10:09 romange