Repository navigation
Multiplexing draft - #2852
Closed
roji wants to merge 7 commits into
Closed
Multiplexing draft#2852roji wants to merge 7 commits into
roji wants to merge 7 commits into
Conversation
To make editing Directory.Build.{props,targets} easier
* We only turn on C# 8.0 nullable reference types for newer TFMs where the BCL is annotated, otherwise there are issues (e.g. Debug.Assert(x != null) doesn't work). * Ignore warnings of NRT use for older TFMs * Target netstandard2.1 in plugins to have at least one TFM where NRTs are enabled.
Tried to keep things as similar as possible to the previous implementation, for comparison purposes. We notably still have fast (sync) and slow (async) paths into the pool, complicating factoring somewhat.
Remove fast (sync) and slow (async) paths into the pool, simplifying the code.
5 tasks done
Member
Author
|
Superceded by #2993 |
Closed
This was referenced Jun 16, 2020
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Here's a first rough draft of Npgsql with multiplexing. Lots of tests and scenarios are broken, and it's too early for nits/style feedback - am looking more for general architecture feedback/ideas. The first 3 commits are uninteresting, then come two commits which don't do multiplexing at all - just rewrite the current pool as-is with Channels (performing very similarly). The last commit is the big one :)
Architecture/notes:
I'll continue working on my side and may add commits (but will try not to amend for easier reviewing).
/cc @YohDeadfall @NinoFloris @damageboy @Brar @ajcvickers