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

[ENH] Add caching to connection for select methods #796

Open
ericzolf opened this issue Nov 26, 2022 · 0 comments
Open

[ENH] Add caching to connection for select methods #796

ericzolf opened this issue Nov 26, 2022 · 0 comments
Milestone

Comments

@ericzolf
Copy link
Member

Is your feature request related to a problem? Please describe.

Certain answers will always be the same throughout the lifetime of a connection (e.g. the OS' name) so that caching these answers could make sense, and would spare a lot of time else spent on the communication between client and server.

Describe the solution you'd like

I still need to investigate this idea in more details, especially if it can be implemented in a generic manner. (perhaps with a decorator?)

Describe alternatives you've considered

Attach such information to Globals and/or spread through the client/server connection only once, and reuse it there.

Additional context

Idea came from #794

@ericzolf ericzolf added this to the 2.4.0 milestone Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant