[Python] pymongo delay a lot seconds with get_socket method

Discussão em 'Python' iniciado por Stack, Fevereiro 10, 2025.

  1. Stack

    Stack Membro Participativo

    I have a problem with an specific service of my project. I dont know why my enpoint persist a lot of times the method get_socket of pymongo. I see that behavior in my traces of datadog. Anybody have an idea about this problem? [​IMG]

    I was checked:

    • Singleton of MongoClient (works ok)
    • Adjustments in queries to increment performance (I just use find and find_one queries).

    This service should be response in seconds, but with this problem I have a response after 1 min, its crazy :(

    Continue reading...

Compartilhe esta Página