[
https://issues.apache.org/jira/browse/HAWQ-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiang Sheng resolved HAWQ-1256.
-------------------------------
Resolution: Fixed
> Enhance libcurl connection to RPS(Ranger Plugin Service), keep it as a
> long-live connection in session level
> ------------------------------------------------------------------------------------------------------------
>
> Key: HAWQ-1256
> URL: https://issues.apache.org/jira/browse/HAWQ-1256
> Project: Apache HAWQ
> Issue Type: Sub-task
> Components: Security
> Reporter: Lili Ma
> Assignee: Xiang Sheng
> Fix For: 2.2.0.0-incubating
>
>
> The current implementation of call restful api is using a local libcurl
> handle, which means every time there is restful call, this handle will be
> initialized and user, after the restful call, this handle is finalized.
> Establishing the call consumes more time, we can reduce this by keep the
> libcurl as a long-live connection.
> A better way is to make this libcurl context as a global structure. Just
> initialize it once before QD calls restful api, and finalize it before QD
> exits.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)