carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuchuanyin <...@git.apache.org>
Subject [GitHub] carbondata pull request #1306: [CARBONDATA-1436] optimize concurrent control...
Date Thu, 31 Aug 2017 06:29:56 GMT
GitHub user xuchuanyin opened a pull request:

    https://github.com/apache/carbondata/pull/1306

    [CARBONDATA-1436] optimize concurrent control for datamap

    # Scenario
    
    `DataMapStoreManager` provides a synchronized interface `getDataMap` to retrieve a table's
`TableDataMap`. It will cause performance problems in current query scenario when all the
queries have to wait the former query finished.
    
    # Analyze
    
    We can make the concurrent control in table scope instead of global scope.
    
    # Modification
    
    + Synchronized by table.
    
    + Use double checked locking to reduce lock overhead

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/xuchuanyin/carbondata opt_datamap_concurrency

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/carbondata/pull/1306.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1306
    
----
commit 36e48808132f3d566aff102d82524767f509e12d
Author: xuchuanyin <xuchuanyin@hust.edu.cn>
Date:   2017-08-31T06:08:45Z

    optimize concurrency control for datamap

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message