Re: Extension proposal: fdpass

From: Date: Thu, 17 Jan 2013 23:51:49 +0000
Subject: Re: Extension proposal: fdpass
References: 1 2 3 4  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-10237@lists.php.net to get a copy of this message
Op 17-01-13 18:06, Ferenc Kovacs schreef:
        Hello all,
        I spent my weekend writing an extension which allows
        file-descriptor passing. In case you are not familiar with it:
        You can pass file-descriptors (sockets, files etc) over
        another file-descriptor to another proces. This would allow a
        masterproces to accept incoming connections, choosing a worker
        and passing the client-socket to a worker which can
        communicatie directly with the client from that moment.
        You can find the first version here:
        http://junk.quis.cx/iVDmcRbb/fdpass-0.1.tbz2
        The way I retreive the file-descriptors from the streams
        should probably be made somewhat less ugly and more
        API-change-stable. I think I should contact Wez Furlong for that.
        The account-request page asked me to tell something about
        myself, so if anybody's interested, here we go.
        I'm an 20 year old undergraduate at the "Radboud University"
        in Nijmegen, The Netherlands. I probably won't finish my study
        due to motivationproblems with (imho) boring classes.
        I'm employed at Hexon B.V. (www.hexon.cx
        <http://www.hexon.cx>), a small company working for the
        Automotive Bussiness. I am responsible for internal
        development there. As I do PHP-stuff at work as well you might
        also see me at jille@hexon.cx <mailto:jille@hexon.cx> (instead
        of quis.cx <http://quis.cx>, my personal domain).
        I recently created a slab allocator in addition to the default
        Zend memory allocator but haven't managed to do reliable
        tests. (I think the speed-improvements vary from -5% to +5%
        and the memory-usage seems to reduce by 4%.) If anybody is
        interested I will post a patch somewhere.
        I guess I should now fill in the form at
        http://pecl.php.net/account-request.php. I'm sorry if I was
        supposed to wait for an answer from the list.
        -- Jille<http://www.php.net/unsub.php>
    Hi,
    Your account request was never approved and the linked tarball
    isn't available anymore.
    Do you still interested in this pecl packaged, if so, then please
    upload it somewhere so somebody can review it for the account
    approval?
Hi,
    I've republished it at http://struik.quis.cx/~quis/fdpass-0.1.tbz
    It's been quite a while ago so I don't remember much of the state of
    the code ;)
    -- Jille
hi, the link isn't working for me atm, not sure that it was wrong to beging with or just something happened with it It should've been: http://struik.quis.cx/~quis/fdpass-0.1.tbz2
I saw the code needs a lot of cleanup and a lot of comments johannes@ gave to my vdump extension could also be applied here. -- Jille

« previous php.pecl.dev (#10237) next »