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

Asynchronous fetching #178

Open
martinuphoff opened this issue Apr 10, 2024 · 2 comments
Open

Asynchronous fetching #178

martinuphoff opened this issue Apr 10, 2024 · 2 comments
Labels
backlog Created in internal backlog (does not guarantee actual plan and implementation) enhancement New feature or request

Comments

@martinuphoff
Copy link

I am struggling to build up a reporting tool for shortcuts and attributes, sttribute forms, etc. The bottleneck at the moment is to load the individual attributes by id into the python program. Is there any possibility to use asynchronous code for that? I tried with asyncio but the connection seems to be limited to the standard pool size of 10, hence I get and urllib3 error there.
Regards, Martin

@martinuphoff
Copy link
Author

Update: I used a semphore to limit the number of threads. I boosted the execution time by roughly a factor of 2 and I noticed, that increasing the number of workers beyond 3 does not make a measureable difference. Is this a limit I configure on the Iserver (e.g. a maximum number of jobs per user)? Regards, Martin

@apiotrowskiMicroStrategy apiotrowskiMicroStrategy added enhancement New feature or request backlog Created in internal backlog (does not guarantee actual plan and implementation) labels Oct 16, 2024
@apiotrowskiMicroStrategy
Copy link
Contributor

hi @martinuphoff

We need to further review the applicability of this request to become an integral mstrio-py feature.

I'll get back to you when an action is decided and if further details are required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Created in internal backlog (does not guarantee actual plan and implementation) enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants