Comments (4)
hi @magkal ,
Thank you the report. We're starting to investigate of your issue.
Regards,
Endre
from .net-sdk.
Hi @magkal,
I think we should split this issue into two parts:
- Thread synchronization deadlock
Have got ever any deadlock when using ConfigCat client? - 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.
Hi thanks for the update,
You're right it's two separate issues.
-
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.
-
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.
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)
- Is string.Empty a valid argument for the User constructor? HOT 2
- json deserialization invoked too many times HOT 4
- Provide change notifications in the .Net client HOT 4
- Deadlock risk due to GetAwaiter().GetResult() HOT 9
- Requesting removal of Newtonsoft.Json HOT 2
- New Release with LoggerWrapper fix #39 HOT 3
- .net core sdk? HOT 2
- ConfigCat.Client makes a lot of requests HOT 2
- Replace IConfigCatLogger with Microsoft.Extensions.Logging.ILogger HOT 11
- Change IConfigCatClient.Snapshot() to return IConfigCatClientSnapshot HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from .net-sdk.