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/07 15:24:00 UTC
[jira] [Updated] (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 updated RANGER-3466:
----------------------------------
Description:
*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 existing synchronous implementations using request 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]
was:
*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
> 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 existing synchronous implementations using request 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)