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

dev: Make lazy client creation in the Driver #398

Open
Zork33 opened this issue Aug 16, 2024 · 0 comments
Open

dev: Make lazy client creation in the Driver #398

Zork33 opened this issue Aug 16, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Zork33
Copy link
Collaborator

Zork33 commented Aug 16, 2024

Obviously all clients are almost never needed at the same code run. Right now they are being created anyway. The clients themselves are lightweight, but creating them for example leads to creating a pool of sessions, which can lead to unnecessary prefilling operations with sessions

BTW: It also seems logical to remove the word Client from the name of clients as redundant. That is to write not driver.tableCleint. but just ydb.table.

@Zork33 Zork33 added the enhancement New feature or request label Aug 16, 2024
@Zork33 Zork33 self-assigned this Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant