]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
doc: technical/ds: update blurb to note more daemons
authorEric Wong <e@80x24.org>
Thu, 9 Mar 2023 19:28:38 +0000 (19:28 +0000)
committerEric Wong <e@80x24.org>
Fri, 10 Mar 2023 01:12:24 +0000 (01:12 +0000)
And add a note about the various wakeup modes of kqueue|epoll
while we're at it; we use all of them!

Documentation/technical/ds.txt

index 89cc05af36becf0a6a045b5fe74304887a6bfbb7..4cfb62fe44c8077569a466e09c7cf832afb9e97a 100644 (file)
@@ -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: