Skip to content

Use a single thread within the SDK #187

@zb-polysign

Description

@zb-polysign

Is your feature request related to a problem? Please describe.
The SDK is currently launching 11 threads by default when doing ldclient.set_config(Config(sdk_key)); ldclient.get(). This is resource intensive in python and costing me more than 1Gb of memory per instance of my service that leverages the SDK and is expensive when running a large number of services.

Describe the solution you'd like
The SDK should use a single thread by default or at least make it easy to configure it to only use a single thread.

Describe alternatives you've considered
I've monkey patched the SDK to reduce the number of threads consumed, but will eventually have to abandon the SDK in favor of directly accessing the APIs.

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