Skip to content

How to put large-scale data? #1434

Description

@Daa35

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?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions