[
https://issues.apache.org/jira/browse/RANGER-3466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zeashan Pappa reassigned RANGER-3466:
-------------------------------------
Assignee: Zeashan Pappa
> Support co-routines - async/await in Ranger Python Client
> ---------------------------------------------------------
>
> Key: RANGER-3466
> URL: https://issues.apache.org/jira/browse/RANGER-3466
> Project: Ranger
> Issue Type: Improvement
> Components: Ranger
> Reporter: Zeashan Pappa
> Assignee: Zeashan Pappa
> Priority: Major
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> *Background*
> In order to support more modern tooling with Apache Ranger, add configuration
> and necessary interface changes within the Ranger Python Client to support
> async/await, specified within
> [PEP-0492.|https://www.python.org/dev/peps/pep-0492/]
>
> *Implementation*
> **Use asyncio and aiohttp to implement this, and provide synchronous
> interfaces for backwards compatibility.
> *Additional Information*
> A write up on the performance gains to be had when using aiohttp and
> async/await vs standard synchronous calls through the requests module.
> https://betterprogramming.pub/making-api-requests-in-python-aiohttp-client-vs-requests-26a7025c39a6
--
This message was sent by Atlassian Jira
(v8.3.4#803005)