batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BATCHEE-107) JobOperator#getJobNames() is slow if many Batches exist
Date Wed, 17 Aug 2016 14:52:20 GMT

    [ https://issues.apache.org/jira/browse/BATCHEE-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15424648#comment-15424648
] 

Hudson commented on BATCHEE-107:
--------------------------------

SUCCESS: Integrated in Jenkins build batchee #615 (See [https://builds.apache.org/job/batchee/615/])
BATCHEE-107 improve getJobNames handling (struberg: rev 8f61b727030a85e069bbb5082ab3c2346b2db12f)
* (edit) jbatch/src/main/java/org/apache/batchee/container/services/persistence/jdbc/Dictionary.java
* (edit) jbatch/src/main/java/org/apache/batchee/spi/PersistenceManagerService.java
* (edit) jbatch/src/main/java/org/apache/batchee/container/services/persistence/jpa/domain/JobInstanceEntity.java
* (edit) jbatch/src/main/java/org/apache/batchee/container/services/persistence/JDBCPersistenceManagerService.java
* (edit) jbatch/src/main/java/org/apache/batchee/container/services/persistence/MemoryPersistenceManagerService.java
* (edit) jbatch/src/main/java/org/apache/batchee/container/services/security/DefaultSecurityService.java
* (edit) extensions/shiro/src/main/java/org/apache/batchee/shiro/ShiroSecurityService.java
* (edit) jbatch/src/main/java/org/apache/batchee/container/impl/JobOperatorImpl.java
* (edit) jbatch/src/main/java/org/apache/batchee/spi/SecurityService.java
* (edit) jbatch/src/main/java/org/apache/batchee/container/services/persistence/JPAPersistenceManagerService.java
* (edit) jbatch/src/main/java/org/apache/batchee/container/services/security/JAASSecurityService.java


> JobOperator#getJobNames() is slow if many Batches exist
> -------------------------------------------------------
>
>                 Key: BATCHEE-107
>                 URL: https://issues.apache.org/jira/browse/BATCHEE-107
>             Project: BatchEE
>          Issue Type: Bug
>          Components: jbatch-core
>    Affects Versions: 0.3-incubating
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 0.4-incubating
>
>
> We have many Batches in our JobInstance table. This heavily slows down the current implementation
of JobOperator#getJobNames().
> The current impl reads through all the values and performs a SecurityService check on
each single batch run. That means we read in all 200k job instances just for getting the available
jobNames...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message