You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2014/02/27 03:53:19 UTC

[jira] [Resolved] (PHOENIX-79) Change the way QueryServices is initialized and requested to make it more perfomant.

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

James Taylor resolved PHOENIX-79.
---------------------------------

    Resolution: Fixed

> Change the way QueryServices is initialized and requested to make it more perfomant.
> ------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-79
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-79
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 3.0.0
>            Reporter: Samarth
>            Assignee: Samarth
>         Attachments: dcl_exception_columnsize.diff, patch-79-80-v2.diff
>
>
> PhoenixDriver#getQueryServices() currently has a synchronized for guarding the lazy initialization of queryServices. Changing it to double-checked-locking pattern should make it more perfomant when connections are requested concurrently. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)