about summary refs log tree commit homepage
path: root/Documentation
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-03-09 19:28:38 +0000
committerEric Wong <e@80x24.org>2023-03-10 01:12:24 +0000
commit241fca57a16f8261f17be2ce84c4fce92182e0c7 (patch)
tree7ff446cf0913ff549a2aec78393dde8823e25700 /Documentation
parent3cf59a6d3451b4fa710e552e9bef8b04542ab895 (diff)
downloadpublic-inbox-241fca57a16f8261f17be2ce84c4fce92182e0c7.tar.gz
And add a note about the various wakeup modes of kqueue|epoll
while we're at it; we use all of them!
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/technical/ds.txt13
1 files changed, 9 insertions, 4 deletions
diff --git a/Documentation/technical/ds.txt b/Documentation/technical/ds.txt
index 89cc05af..4cfb62fe 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: