You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hawq.apache.org by "Lili Ma (JIRA)" <ji...@apache.org> on 2017/01/05 02:11:58 UTC
[jira] [Created] (HAWQ-1256) Enhance libcurl connection to
RPS(Ranger Plugin Service), keep it as a long-live connection in session
level
Lili Ma created HAWQ-1256:
-----------------------------
Summary: 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: Ed Espino
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)