[ FEATURE REQUEST]: Non-blocking logging
Author: jackpriceCreated Jun 26, 2025Updated Feb 16, 2026
LabelsC-feature-requestC-feature-accepted
Plugin
Logger
I have an idea!
Currently, logging is blocking.
You can see this in action by running roadrunner through pv:
./rr serve 2> >(pv -q -L 1k)This will result in a slowdown of roadrunner, including startup and a slowdown of it being able to process requests, tasks or workflows. (You can increase or decrease the throttling to see its effects by tweaking the -L parameter). The effect is higher with higher levels of logging, e.g. debug-level.
In my case, I'm running the roadrunner process from another host process, and processing its logs sent to stderr to enrich it. Poor processing performance on my part meant I was filling the pipe and blocking roadrunner.
Source: roadrunner-server/roadrunner