GitHub user anthonywei opened a pull request:

    https://github.com/apache/thrift/pull/146

    add cpp lib that support epoll server, thus we can use epoll and multi p...

    this version support thrift with c++ server use epoll and multiprocess
    
    add four files as follows:
    
    server/TEpollServer.h 
    server/TEpollServer.cpp
    
    transport/TServerEpollSocket.h 
    transport/TServerEpollSocket.cpp
    
    Advantags: we use epoll to watch the connections events, not use recv() and 
timeout. more effective. And also it is even more effective than recv() + 
timeout + multi-thread and also it is of simlity. you do not need to care about 
thread-safe class, objects and anything.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/anthonywei/thrift master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/146.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #146
    
----
commit c1c0bedd4bc1fafacdd65b4d7876973d361e3edc
Author: weishouyang <[email protected]>
Date:   2014-06-24T07:57:24Z

    add cpp lib that support epoll server, thus we can use epoll and multi 
process

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to