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

move timecache check/update after validation #156

Merged
merged 2 commits into from
Jan 21, 2019
Merged

move timecache check/update after validation #156

merged 2 commits into from
Jan 21, 2019

Conversation

vyzo
Copy link
Collaborator

@vyzo vyzo commented Jan 21, 2019

Fixes #155.

@ghost ghost assigned vyzo Jan 21, 2019
@ghost ghost added the in progress label Jan 21, 2019
Copy link
Member

@Stebalien Stebalien left a comment

Choose a reason for hiding this comment

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

Looks correct as a direct fix. However, we should consider #155 (comment) as validation is already a performance issue for us.

@vyzo
Copy link
Collaborator Author

vyzo commented Jan 21, 2019

I will also add a check of the cache before validation, but without update.
This will eliminate the duplicate valid message validation performance issue.

@Stebalien
Copy link
Member

Well, not quite eliminate. If we get a burst of messages (as expected), we'll still see duplicate validations.

@vyzo
Copy link
Collaborator Author

vyzo commented Jan 21, 2019

Indeed, but that's almost impossible to avoid. But at least its only for the window of active validation.

@vyzo vyzo merged commit d458995 into master Jan 21, 2019
@ghost ghost removed the in progress label Jan 21, 2019
@vyzo vyzo deleted the fix/issue-155 branch January 21, 2019 22:52
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.

2 participants