2 ms·
LiteDB is a database engine, so it needs persistence. For the link you provided, I wonder if Microsoft would accept a pull request to merge it into the standar
by jiggawatts 4y ago
LiteDB is a database engine, so it needs persistence.
For the link you provided, I wonder if Microsoft would accept a pull request to merge it into the standard library to replace the built-in concurrent dictionary…?
- neonsunset 4y agoSpot on, this was the original intent of the linked implementation but the PR eventually did not progress and got rejected[0]. However, it might not be off the table yet, because scaling per core is dramatically better especially in moderate to write-heavy scenarios which remains the main use case for ConcurrentDictionary. I have been benchmarking it on arm64 lately and it shows different numbers much more favoring non-blocking implementation without any regressions discussed in the PR. [0] https://github.com/dotnet/runtime/pull/50337 https://github.com/dotnet/runtime/pull/50337