2 ms·
Mail in general (including maildir) is actually a classic example of how hard synchronization is even in the file regime. Take a look at the source to somethin
by ajross 18y ago
Mail in general (including maildir) is actually a classic example of how hard synchronization is even in the file regime. Take a look at the source to something like procmail sometime. It's a huge rats nest of locking abstractions.
It's not something you can solve with file naming. That's just a technique for avoiding collisions.
- bayareaguy 18y agoIndeed. I've found it worthwhile to ask interview candidates how they would implement the equivalent of the maildir protocol - http://www.qmail.org/man/man5/maildir.html http://www.qmail.org/man/man5/maildir.html