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 (Created) (JIRA)" <ji...@apache.org> on 2011/11/23 10:47:40 UTC
[jira] [Created] (BOOKKEEPER-117) Support multi threads in hedwig
cpp client to leverage multi-core hardware
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
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
[jira] [Updated] (BOOKKEEPER-117) Support multi threads in hedwig
cpp client to leverage multi-core hardware
Posted by "Sijie Guo (Updated) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (BOOKKEEPER-117) Support multi threads in hedwig
cpp client to leverage multi-core hardware
Posted by "Ivan Kelly (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BOOKKEEPER-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158494#comment-13158494 ]
Ivan Kelly commented on BOOKKEEPER-117:
---------------------------------------
Looks good +1
> 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
[jira] [Commented] (BOOKKEEPER-117) Support multi threads in hedwig
cpp client to leverage multi-core hardware
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BOOKKEEPER-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158528#comment-13158528 ]
Hudson commented on BOOKKEEPER-117:
-----------------------------------
Integrated in bookkeeper-trunk #242 (See [https://builds.apache.org/job/bookkeeper-trunk/242/])
BOOKKEEPER-117: Support multi threads in hedwig cpp client to leverage multi-core hardware (Sijie Guo via ivank)
ivank :
Files :
* /zookeeper/bookkeeper/trunk/CHANGES.txt
* /zookeeper/bookkeeper/trunk/hedwig-client/src/main/cpp/inc/hedwig/client.h
* /zookeeper/bookkeeper/trunk/hedwig-client/src/main/cpp/lib/channel.cpp
* /zookeeper/bookkeeper/trunk/hedwig-client/src/main/cpp/lib/channel.h
* /zookeeper/bookkeeper/trunk/hedwig-client/src/main/cpp/lib/client.cpp
* /zookeeper/bookkeeper/trunk/hedwig-client/src/main/cpp/lib/clientimpl.cpp
* /zookeeper/bookkeeper/trunk/hedwig-client/src/main/cpp/lib/clientimpl.h
* /zookeeper/bookkeeper/trunk/hedwig-client/src/main/cpp/lib/eventdispatcher.cpp
* /zookeeper/bookkeeper/trunk/hedwig-client/src/main/cpp/lib/eventdispatcher.h
* /zookeeper/bookkeeper/trunk/hedwig-client/src/main/cpp/lib/subscriberimpl.cpp
* /zookeeper/bookkeeper/trunk/hedwig-client/src/main/cpp/test/pubsubtest.cpp
* /zookeeper/bookkeeper/trunk/hedwig-client/src/main/cpp/test/util.h
> 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: Ivan Kelly
> 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