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

Concurrent http requests #11

Open
loicalleyne opened this issue Oct 24, 2024 · 4 comments
Open

Concurrent http requests #11

loicalleyne opened this issue Oct 24, 2024 · 4 comments

Comments

@loicalleyne
Copy link

If there are concurrent requests, is duckdb capable of handling them or will it result in a 500 error?
Would some sort of request queue or pool be needed?

@lmangani
Copy link
Collaborator

httplib is running under the hood. The specific implementation in DuckDB might be slightly different from the plain library but full featured nevertheless. The thread pool documentation and settings should also apply.

@loicalleyne
Copy link
Author

Thanks, I'll try running as-is with backoff retries on the client, hopefully that's enough.

@lmangani
Copy link
Collaborator

Please post any results and/or tests you're using and we'll gladly work to either add settings or improve the implementation. Thanks for giving this a try!

@lmangani
Copy link
Collaborator

lmangani commented Dec 8, 2024

@loicalleyne did you experience any problems? Shall we keep this issue open? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants