8000 Tags · lndbrg/event · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: lndbrg/event

Tags

v1.5.2

Toggle v1.5.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add backpressure handling to keep the memory in check when over-publi…

…shing (kelindar#7)

* Add memory and CPU profiling support, enhance Dispatcher with maxQueue

* Improve backpressure handling in Broadcast method to wait for consumer processing when queues are at capacity

* Reduce default max queue size in Dispatcher from 100k to 50k for improved performance

* Add backpressure test to validate event processing under load

v1.5.1

Toggle v1.5.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix ticker leak and improve readme (kelindar#6)

* Add MIT License and enhance README with usage details; refactor event dispatcher for improved subscription handling

* Refactor consumer's Listen method to optimize queue handling and improve readability

* Add defer statement to stop ticker in group.Process method

* Update default_test.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

v1.5.0

Toggle v1.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Enhance Dispatcher with atomic registry and add concurrent subscripti…

…on (kelindar#5)

* Enhance Dispatcher with atomic registry and add concurrent subscription tests

- Implement atomic pointer for subscriber registry to improve performance and safety.
- Introduce lock-free binary search for event type lookup.
- Add tests to verify race conditions during concurrent subscriptions and handler registrations.

* Update Go version in CI workflow to 1.20

* Refactor TestConcurrentSubscriptionRace for improved concurrency handling and verification

v1.4.1

Toggle v1.4.1's commit message
Merge branch 'master' of https://github.com/kelindar/event

v1.4.0

Toggle v1.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Use sync.Cond instead of channel for broadcast (kelindar#4)

This PR removes the usage of channel for broadcast and instead makes use of `sync.Cond` primitive directly. Subscribers are also flushed periodically to avoid lock contention. This results in ~2-4x performance improvement depending on the conditions.

v1.3.0

Toggle v1.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Added global dispatcher (kelindar#3)

v1.2.0

Toggle v1.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Make API more usable for generic types (kelindar#2)

* Make API more usable for generic types

* 1.19

v1.1.0

Toggle v1.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Revamp API, use go 1.18 (kelindar#1)

v1.0.0

Toggle v1.0.0's commit message
first commit

0