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

Improving ergonomics of purging cached resources on clusters, properly adapting command pattern #390

Open
ziollek opened this issue Oct 12, 2022 · 0 comments

Comments

@ziollek
Copy link
Contributor

ziollek commented Oct 12, 2022

Description

VaaS provides a GUI form and API endpoint that enables purging resources from varnish servers.
Each of the above methods allows purging a single resource per call. Obviously, that approach is highly ineffective when it comes to purging massive amounts of resources. Moreover, the API endpoint does not meet REST best practices. Calling complex commands in the context of the cluster is a good example of a command pattern. Best practices on how to implement this pattern can be found here.

Expected behavior:

  1. Expose GUI form for batch purging.
  2. Expose API endpoint for batch purging accordingly to command pattern
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant