[
https://issues.apache.org/jira/browse/QPID-8304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16833582#comment-16833582
]
ASF GitHub Bot commented on QPID-8304:
--------------------------------------
overmeulen commented on pull request #29: QPID-8304: [Broker-J][JDBC Message
Store] Performance bottleneck at the level of the executor
URL: https://github.com/apache/qpid-broker-j/pull/29#discussion_r281094728
##########
File path:
broker-plugins/jdbc-store/src/main/java/org/apache/qpid/server/store/jdbc/AbstractJDBCMessageStore.java
##########
@@ -216,7 +216,7 @@ private void updateDbVersion(int newVersion) throws
SQLException
protected void initMessageStore(final ConfiguredObject<?> parent)
{
_parent = parent;
- _executor = new ScheduledThreadPoolExecutor(4, new ThreadFactory()
+ _executor = new
ScheduledThreadPoolExecutor(Runtime.getRuntime().availableProcessors(), new
ThreadFactory()
Review comment:
I used qpid.jdbcstore.executorThreads because this executor is not just used
for the commit but also for the batched deletes
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> [Broker-J][JDBC Message Store] Performance bottleneck at the level of the
> executor
> ----------------------------------------------------------------------------------
>
> Key: QPID-8304
> URL: https://issues.apache.org/jira/browse/QPID-8304
> Project: Qpid
> Issue Type: Improvement
> Components: Broker-J
> Affects Versions: qpid-java-broker-7.1.0
> Reporter: Olivier VERMEULEN
> Priority: Major
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]