Skip to content

is this client thread safe? #105

@zealot-shin

Description

@zealot-shin

trying to using pydgraph, i'm wondering if this client is thread safe.
can i share one client instance between different processes?

from what i'v leant in dgraph doc, it seems that transactional conflicts will cause oprations on hold.
i guess it's best not to share client instance in multi process.

what i concerned is performance. if multi process could help improve performance, i'd like to make it that way. Or if one client instance only is enough for most use cases, i can design my program based on this concept.

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