From: Eric Wong Date: Thu, 9 Mar 2023 19:28:38 +0000 (+0000) Subject: doc: technical/ds: update blurb to note more daemons X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=241fca57a16f8261f17be2ce84c4fce92182e0c7;p=thirdparty%2Fpublic-inbox.git doc: technical/ds: update blurb to note more daemons And add a note about the various wakeup modes of kqueue|epoll while we're at it; we use all of them! --- diff --git a/Documentation/technical/ds.txt b/Documentation/technical/ds.txt index 89cc05af3..4cfb62fe4 100644 --- a/Documentation/technical/ds.txt +++ b/Documentation/technical/ds.txt @@ -1,9 +1,14 @@ PublicInbox::DS - event loop and async I/O base class -Our PublicInbox::DS event loop which powers public-inbox-nntpd -and public-inbox-httpd diverges significantly from the -unmaintained Danga::Socket package we forked from. In fact, -it's probably different from most other event loops out there. +Our PublicInbox::DS event loop which powers most of our long-lived +processes(*) diverges significantly from the unmaintained Danga::Socket +package we forked from. In fact, it's probably different from most +other event loops out there. + +Most notably, it uses one-shot, level-trigger, and edge-trigger mode +modes of kqueue|epoll depending on the situation. + +(*) public-inbox-netd,(-httpd,-imapd,-nntpd,-pop3d,-watch) + lei-daemon Most notably: