Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate if Python requests sessions will lead to a performance gain #101

Open
ArgusLi opened this issue Dec 15, 2022 · 0 comments
Open
Labels
question Further information is requested

Comments

@ArgusLi
Copy link
Contributor

ArgusLi commented Dec 15, 2022

We hit the Dremio REST API repeatedly to see if the job is completed - with session objects, if several requests are made to the same host, the underlying TCP connection will be reused, which could potentially result in a significant performance increase.

https://requests.readthedocs.io/en/latest/user/advanced/#session-objects

@jlarue26 jlarue26 added the question Further information is requested label Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Development

No branches or pull requests

2 participants