gns3-server icon indicating copy to clipboard operation
gns3-server copied to clipboard

Use ETags to avoid data corruption

Open grossmj opened this issue 7 years ago • 2 comments

For example to avoid corruption if two clients updates an appliance settings at the same time.

ETags can also be used to optimize requests, i.e. avoid request all appliances data if nothing has changed on the server side.

grossmj avatar Nov 13 '18 06:11 grossmj

https://www.kennethlange.com/avoid-data-corruption-in-your-rest-api-with-etags/

grossmj avatar Apr 13 '19 08:04 grossmj

As an example, an Etag is used to know if the appliances need to be downloaded from the gns3-registry repository on GitHub: https://github.com/GNS3/gns3-server/blob/master/gns3server/controller/appliance_manager.py#L167L179

Implementing Etags on gns3-server itself would allow for optimized requests from clients.

grossmj avatar Mar 12 '20 05:03 grossmj