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

Improve publish performance #61

Merged
merged 6 commits into from
Aug 7, 2023
Merged

Improve publish performance #61

merged 6 commits into from
Aug 7, 2023

Conversation

roekatz
Copy link
Contributor

@roekatz roekatz commented Aug 6, 2023

  1. Use new broadcaster where connection pool is being used for Postgres backend.
  2. Avoid the publish lock by just using a new broadcaster instance for each publish (on PG a connection would just be acquired from the pool, on other backends a new connection would be established - but that was the case anyway).
  3. Fixed a bug of refcount locking in EventBroadcasterContextManager
  4. Improved logs a bit

@roekatz roekatz requested review from shaulk and asafc August 6, 2023 14:57
@roekatz roekatz merged commit b4d9c66 into master Aug 7, 2023
2 of 6 checks passed
@roekatz roekatz deleted the rk/pg-conn-pool branch August 7, 2023 11:23
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.

None yet

2 participants