Coder Social home page Coder Social logo

Comments (4)

endret avatar endret commented on June 10, 2024

hi @magkal ,
Thank you the report. We're starting to investigate of your issue.

Regards,
Endre

from .net-sdk.

endret avatar endret commented on June 10, 2024

Hi @magkal,

I think we should split this issue into two parts:

  1. Thread synchronization deadlock
    Have got ever any deadlock when using ConfigCat client?
  2. Thread pool issue (i guess you had thread pool starvation)
    Can you explain what does it mean 'too often'? Why are you using in this case synchronous method instead of async?
    Is it possible to insert a copy of some lines of code about configcat usage?

I create some changes to replace an elegant .Result / .Wait but it won't solve your ThreadPool issues. (#18)

Thanks,
Endre

from .net-sdk.

magkal avatar magkal commented on June 10, 2024

Hi thanks for the update,
You're right it's two separate issues.

  1. We were unable to get our azure webapp starting after deploy and did some debugging with dnSpy, which always got stuck on the configcat library causing a deadlock. As soon as we refactored the code calling Sync methods in configcat, to properly await the result, our azure webapp started and was healthy.

  2. Regarding the thread pooling is likely something else that we mixed up in this. Since we upgraded multiple packages within the same test release we did, and an issue we ran into seemed to be caused by thread pool starvation. I think it's safe to disregard that within this github issue.

/Magnus

from .net-sdk.

endret avatar endret commented on June 10, 2024

Hi @magkal,

The new version was released.

If you have some time, can you try the async version of the methods?

Thanks,
Endre

from .net-sdk.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.