public-inbox.git  about / heads / tags
an "archives first" approach to mailing lists
blob 0c8d689146a0befd719639ec6290e2fcdc4b8a0a 809 bytes (raw)
$ git show HEAD:Documentation/technical/weird-stuff.txt	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
There's a lot of weird code in public-inbox which may be daunting
to new hackers.

* The event loop (PublicInbox::DS) is an evolution of a fairly standard
  C10K event loop.  See ds.txt in this directory for more.

Things got weirder in 2021:

* The lei command-line tool is backed by a daemon.  This was done to
  improve startup time for shell completion and manage git/SQLite/Xapian
  single-writer during long, parallel imports.  It may eventually become
  a read-write IMAP/JMAP server.

* SOCK_SEQPACKET is used extensively in lei, and will likely make its
  way into more places, still.

And even more so in 2022:

* public-inbox-clone / PublicInbox::LeiMirror relies on ->DESTROY
  for make-like dependency management while providing parallelism.

More to come, lei will expose Maildirs via FUSE 3...

git clone https://public-inbox.org/public-inbox.git
git clone http://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/public-inbox.git