etcd-io / etcd-io/jetcd

How to put large-scale data?

Open
#1,434 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.2k
Forks
312
Avg merge
5d 4h
Merged PRs (30d)
2

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.