cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAY-1680) Get rid of shared locks in DataDomain metadata lookups
Date Thu, 01 Mar 2012 08:00:14 GMT

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

Andrus Adamchik updated CAY-1680:
---------------------------------

    Description: 
We can improve performance by using concurrent collections instead of synchronizing the HashMap.
This includes: 

DataDomain.properties 
DataDomain.nodes
DataDomain.nodesByDataMapName

Also instead of reindexing on failed lookups, we can simply lazy-fill collection from a given
DataMap

  was:We can improve performance by using a concurrent collection for DataDomain.lookupNode
instead of synchronizing the HashMap.  Also instead of reindexing on failed lookups, we can
simply lazy-fill collection from a given DataMap

        Summary: Get rid of shared locks in DataDomain metadata lookups  (was: Get rid of
shared lock - DataDomain.lookupNode)
    
> Get rid of shared locks in DataDomain metadata lookups
> ------------------------------------------------------
>
>                 Key: CAY-1680
>                 URL: https://issues.apache.org/jira/browse/CAY-1680
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Core Library
>    Affects Versions: 3.1M3
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>
> We can improve performance by using concurrent collections instead of synchronizing the
HashMap. This includes: 
> DataDomain.properties 
> DataDomain.nodes
> DataDomain.nodesByDataMapName
> Also instead of reindexing on failed lookups, we can simply lazy-fill collection from
a given DataMap

--
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

        

Mime
View raw message