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

How to put large-scale data? #1434

Open
Daa35 opened this issue Dec 20, 2024 · 0 comments
Open

How to put large-scale data? #1434

Daa35 opened this issue Dec 20, 2024 · 0 comments

Comments

@Daa35
Copy link

Daa35 commented Dec 20, 2024

I'm trying to store a large amount of data (tens of thousands or more) in an etcd cluster using jetcd. Currently, I'm struggling with how to efficiently perform multiple put operations in parallel. I understand that jetcd does not natively support batch operations, but the current approach of executing put one by one seems inefficient for large volumes of data. I’m concerned about the performance impact and the overhead of creating separate requests for each key-value pair.

As an alternative, I've considered manually executing multiple put operations concurrently using CompletableFuture to parallelize requests. However, this requires careful management of network resources, connection pooling, and error handling to avoid overloading the etcd cluster and potentially causing issues with rate limits or timeouts.

So I'd like to ask the official opinion on How to put large-scale data?

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

No branches or pull requests

1 participant