Developing the twom database for Cyrus IMAP,
by Bron Gondwana at Fastmail (@fastmail).

"""
TIL: fcntl isn’t fair. Releasing the lock didn’t magically let a waiting writer proceed, the same process would often pick up the lock again without giving another process a chance. On busy files, writers could entirely starve.
"""

https://www.fastmail.com/blog/introducing-twom/

#perfmatters #webperf #fastmail #imap

Introducing the twom database format

We replaced the twoskip database format with something faster and better.

Fastmail