[systemd-devel] Early review request: socket activation bridge
David Strauss
david at davidstrauss.net
Tue Oct 8 05:03:12 PDT 2013
On Tue, Oct 8, 2013 at 4:56 AM, David Strauss <david at davidstrauss.net> wrote:
> There's no reason it couldn't scale to any number in future versions.
Sorry for the copious replies, but I have another thing to add here.
The current design doesn't rely on globals; it passes all state up the
stack in the watcher data. This makes adding additional
socket-to-backend mappings trivial. We'd just need to call the
ev_io_init() + ev_io_start() pair in run_main_loop() for each mapping.
More information about the systemd-devel
mailing list