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

Avoid reprocessing of what was intended to be the same request #11

Open
1 of 5 tasks
MateuszKubuszok opened this issue Oct 17, 2020 · 0 comments
Open
1 of 5 tasks
Labels
enhancement New feature or request Infrastructure Infrastructure-related tasks

Comments

@MateuszKubuszok
Copy link
Collaborator

MateuszKubuszok commented Oct 17, 2020

  • require request ID in request which modify state
  • store IDs of received requests in some cache for some time
  • return calculated value instead of processing request again
  • apply this only to commands - queries should be not be cached
  • apply this logic after authentication to make all changes in permissions reflected
@MateuszKubuszok MateuszKubuszok added enhancement New feature or request Infrastructure Infrastructure-related tasks labels Oct 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Infrastructure Infrastructure-related tasks
Projects
None yet
Development

No branches or pull requests

1 participant