You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Zeashan Pappa (Jira)" <ji...@apache.org> on 2021/10/06 13:49:00 UTC
[jira] [Assigned] (RANGER-3466) Support co-routines - async/await
in Ranger Python Client
[ 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)