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

Batched loading #10

Closed
asdine opened this issue Mar 3, 2018 · 0 comments
Closed

Batched loading #10

asdine opened this issue Mar 3, 2018 · 0 comments
Milestone

Comments

@asdine
Copy link
Contributor

asdine commented Mar 3, 2018

Let f be the number of fields in a struct, and b be the number of backends, the worst case scenario makes Confita call the backends f * b times per structure.
If the backends are all remote ones (etcd, vault, etc.) that would mean f * b network calls.
We can improve that by taking advantage of the batch capabilities of some of the backends and do the cascading resolution in memory.

@heetch heetch deleted a comment from yaziine Mar 3, 2018
@asdine asdine added this to the v0.3.0 milestone Mar 8, 2018
@asdine asdine modified the milestones: v0.3.0, v0.4.0 Mar 29, 2018
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