You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Sijie Guo (Updated) (JIRA)" <ji...@apache.org> on 2011/11/23 11:23:39 UTC

[jira] [Updated] (BOOKKEEPER-117) Support multi threads in hedwig cpp client to leverage multi-core hardware

     [ https://issues.apache.org/jira/browse/BOOKKEEPER-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sijie Guo updated BOOKKEEPER-117:
---------------------------------

    Attachment: BOOKKEEPER-117.patch

Attach a patch implements a pool of io services in eventdispatcher, each io service is dedicated to a thread. Each socket connection will be bound to an io service in round-robin way.
                
> Support multi threads in hedwig cpp client to leverage multi-core hardware
> --------------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-117
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-117
>             Project: Bookkeeper
>          Issue Type: Improvement
>          Components: hedwig-client
>    Affects Versions: 4.0.0
>            Reporter: Sijie Guo
>            Assignee: Sijie Guo
>             Fix For: 4.0.0
>
>         Attachments: BOOKKEEPER-117.patch
>
>
> Currently in hedwig cpp client, there is only one thread running io service.
> Actually, we can have an io_service pool, each io_service is processed by a separated thread. Each socket connection would be bound to an io_service to process it i/o operations.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira