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

Accelerate subscriptions #82

Merged
merged 1 commit into from
Nov 25, 2019
Merged

Accelerate subscriptions #82

merged 1 commit into from
Nov 25, 2019

Conversation

alanbem
Copy link
Member

@alanbem alanbem commented Nov 24, 2019

Accelerate subscriptions but cutting replay time of their internal state.

Subscription itself do not need to replay all events - only "subscription started", "subscription restarted", "subscription completed" are needed and then single last "subscription listened to event" if exists.

Unfortunately listeners still need all events.

@alanbem alanbem self-assigned this Nov 24, 2019
@codecov
Copy link

codecov bot commented Nov 24, 2019

Codecov Report

Merging #82 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #82      +/-   ##
============================================
+ Coverage     99.79%   99.79%   +<.01%     
+ Complexity      758      756       -2     
============================================
  Files           104      104              
  Lines          1982     1986       +4     
============================================
+ Hits           1978     1982       +4     
  Misses            4        4
Impacted Files Coverage Δ Complexity Δ
src/Domain/Event/Sourced/Subscription.php 100% <100%> (ø) 39 <1> (-2) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b690239...517607b. Read the comment docs.

…ate.

Subscription itself do not need to replay all events - only "subscription started", "subscription restarted", "subscription completed" are needed and then single last "subscription listened to event" or "subscription ignored event" if exists.

Unfortunately listeners still need all events.
@alanbem alanbem merged commit 2805a6d into master Nov 25, 2019
@alanbem alanbem deleted the accelerate-subscriptions branch November 25, 2019 14:07
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

1 participant