qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-1460) C "proactor" epoll implementation
Date Fri, 05 May 2017 21:53:04 GMT

    [ https://issues.apache.org/jira/browse/PROTON-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15999013#comment-15999013

ASF subversion and git services commented on PROTON-1460:

Commit e1d1f2f4041dcf2b56be0aab0529f21e0dbf8c19 in qpid-proton's branch refs/heads/master
from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=e1d1f2f ]

PROTON-1460: epoll multi-address listen and connect.

epoll proactor:

pn_listener_t listens to every working address in the getaddrinfo list.
It holds one psocket_t per listening socket but has a single pcontext_t.
Returns one accept event at a time.

pn_proactor_connect tries each address in the getaddrinfo list until one works.
No further attempts are made after the first successful connection.

Modified ipv4/v6 flags and address parsing to follow the behavior documented for
pn_proactor_listen and pn_proactor_connect.

Modified proactor to deal directly with contexts not sockets, moved "closing"
flag from socket to context. Previously there was a 1-1 relationship, but now a
listener context has >1 socket.

> C "proactor" epoll implementation
> ---------------------------------
>                 Key: PROTON-1460
>                 URL: https://issues.apache.org/jira/browse/PROTON-1460
>             Project: Qpid Proton
>          Issue Type: New Feature
>          Components: proton-c
>    Affects Versions: 0.18.0
>         Environment: Linux systems with epoll
>            Reporter: Cliff Jansen
>            Assignee: Cliff Jansen
>             Fix For: 0.18.0
> Provide a proactor implementation based on epoll and other performant capabilities (like
eventfd) on Linux systems.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message