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

Reuse httplib-client #76

Open
josephbirkner opened this issue Feb 21, 2022 · 0 comments
Open

Reuse httplib-client #76

josephbirkner opened this issue Feb 21, 2022 · 0 comments
Labels
C++ 🐺 This issue affects the zswag C++ client. Python 🐍 This issue affects the zswag Python client.

Comments

@josephbirkner
Copy link
Collaborator

josephbirkner commented Feb 21, 2022

Currently, the zswag client lib is reinstantiating its httplib-client for each request. This may be slow, because it breaks HTTP keepalive optimizations. A new socket and a new TCP/SSL handshake are run for every tile.

@josephbirkner josephbirkner added C++ 🐺 This issue affects the zswag C++ client. Python 🐍 This issue affects the zswag Python client. labels Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ 🐺 This issue affects the zswag C++ client. Python 🐍 This issue affects the zswag Python client.
Projects
None yet
Development

No branches or pull requests

1 participant