Skip to content

Add async support #622

Open
Open

Description

@maovidal

Is your feature request related to a problem? Please describe.

Sometimes the network traffic affects the response time of the queries to our database. As the DB is blocking, the rest of our app becomes quite unresponsive in those situations.

I wonder if this is something still under consideration: cloudant/python-cloudant#211

Thanks!

Activity

  1. ricellis commented on Feb 28, 2024

    @ricellis
    Member

    Async support for Python is still under consideration. The HTTP client stack and request/response handling are provided by the IBM Cloud Python SDK core. I am aware of an internal request tracking async support for that and I've asked for an update, but AFAIK it is not planned at this point.

    In the meantime if you are an IBM Cloudant customer and have concerns about query performance you can contact support and ask for an engagement with our client architecture team who may be able to help with optimization.

    Also, whilst it probably doesn't help if you require a python stack, our Node and Java SDKs do currently support asynchronous requests if you have flexibility in your language choice.

  2. maovidal commented on Feb 28, 2024

    @maovidal
    Author

    Thank you for your response. I'll keep an eye on the SDK.

  3. Ousret commented on Mar 1, 2024

    @Ousret

    Hello,

    They could, thinking about ibm-cloud-sdk-core, switch from requests to niquests and easily propose an async interface without breaking changes.

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