On Sat, 22 Sep 2007, Bron Gondwana wrote: > On Fri, Sep 21, 2007 at 05:53:48PM -0400, Wesley Craig wrote: > > On 21 Sep 2007, at 13:36, Pascal Gienger wrote: > > > A proxy would mean another possibility of failure. How stable is > > > that proxy daemon? Another two boxes for redundancy? > > > > UMich runs the caching proxy on the host running httpd/webmail. > > up- imapproxy is very stable. > > Fastmail runs our own "imappool" which is a funky daemon capable > of passing FDs around between processes. I don't know how it works > precisely, but it uses Socket::Pool which had a sourceforge project > and doesn't appear to any more. My guess is that I'd rather not > look at the code for fear of going totally insane.
You can pass file descriptors over UNIX domain sockets, see SCM_RIGHTS. Here is some code Google found -> http://search.cpan.org/src/SAMPO/Socket-PassAccessRights-0.03/passfd.c It's a feature, not an insane kludge! You can pass process credentials too. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
signature.asc
Description: This is a digitally signed message part.
---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html