Samarth created PHOENIX-79:
------------------------------

             Summary: Change the way QueryServices is initialized to make 
initialization more performant
                 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


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)

Reply via email to