-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fl/connection pool #97
Conversation
This continues to fix the GoAway issue. Preliminary tests show a 20% improvements on performance compared to the mutex. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except Log verbosity and function renaming, it's ok
} | ||
|
||
channel = channelFactory_(); | ||
logger_?.LogInformation("Created and acquired new channel {channel} from pool", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LogDebug rather than LogInformation ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those events should be really rare as they happen only when the pool is empty. I think it is useful to have the log at the information level.
Use a connection pool and remove the mutex in order to fix some "Go Away" errors while improving performance.