apache / trafficserver

Apache Traffic Serverâ„¢ is a fast, scalable and extensible HTTP/1.1 and HTTP/2 compliant caching proxy server.
https://trafficserver.apache.org/
Apache License 2.0
1.8k stars 796 forks source link

Provide ability to clear cache with traffic_ctl #9399

Open vmamidi opened 1 year ago

vmamidi commented 1 year ago

Feature request:

It would certainly save a load of time for workload validation if you could get ATS to re-initialise its cache without restarting.

e.g. traffic_ctl cache clear

When load testing for example you need to ensure the same state between comparative runs. Ideally something such as the above would, as best as ATS can tell, have the same state as it would when restarted.

This would really help with load validation automation for example. Reducing the number of states that need tracking by the orchestrator. Perhaps I would go further than say just clear the cache, and clear all running state.

github-actions[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.