Mark Cilia Vincenti
Mark Cilia Vincenti
Hi, I saw https://github.com/ZiggyCreatures/FusionCache/blob/main/src/ZiggyCreatures.FusionCache/Reactors/FusionCacheReactorUnboundedWithPool.cs now The library is more or less the same techniques. I'm surprised though why you used striping for the pool and then still used a dictionary....
@jodydonetti, [AsyncKeyedLock](https://github.com/MarkCiliaVincenti/AsyncKeyedLock) has matured since we last discussed and you may be interested in adding a dependency to it. I can help with this if you're interested.
I'm not entirely sure what you mean Jody. Do you need some changes to the PR?
Ah I think I get it now. But that would mean needing to create my own package if I understand correctly, or will it be an official FusionCache package which...
Can you please show me the code you used for benchmarking? Did you enable pooling?
Also one thing I'd change from your public benchmarks is to not include the cache creation parts within the benchmark itself but in setup methods so that you measure the...
Tried a basic experiment (no logging so far and pool size is 20, probably not ideal) | Method | FactoryDurationMs | Accessors | KeysCount | Rounds | Mean | Error...
With a pool size of 100 instead | Method | FactoryDurationMs | Accessors | KeysCount | Rounds | Mean | Error | StdDev | P95 | Ratio | RatioSD |...
And after adding more overloaded methods and adding logging like the other lockers. You can check for yourself at https://github.com/MarkCiliaVincenti/FusionCache/tree/AsyncKeyedLocker | Method | FactoryDurationMs | Accessors | KeysCount | Rounds...
Updated https://github.com/MarkCiliaVincenti/FusionCache/tree/AsyncKeyedLocker New benchmarks: | Method | FactoryDurationMs | Accessors | KeysCount | Rounds | Mean | Error | StdDev | P95 | Ratio | RatioSD | Gen0 | Gen1...