Skip to content
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

PubSub from same connection performance improvement #529

Merged
merged 2 commits into from
Nov 12, 2019
Merged

Conversation

derekcollison
Copy link
Member

PubSub from same connection was contending on lock checking closed state.

Signed-off-by: Derek Collison derek@nats.io

…ate.

Signed-off-by: Derek Collison <derek@nats.io>
@coveralls
Copy link

coveralls commented Nov 12, 2019

Coverage Status

Coverage decreased (-0.08%) to 91.914% when pulling d6913a8 on pubsub into 6063d67 on master.

Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either we remove the test or need to update travis.yml to have this test actually executed. Also, I still don't know what to think of adding deps that are only for tests, which results in projects that then pull each other (server->client, client->server: circular deps).

norace_test.go Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
Signed-off-by: Derek Collison <derek@nats.io>
Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@derekcollison derekcollison merged commit 8782052 into master Nov 12, 2019
@derekcollison derekcollison deleted the pubsub branch November 12, 2019 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants