Avaiga / taipy

Turns Data and AI algorithms into production-ready web applications in no time.
https://www.taipy.io
Apache License 2.0
10.94k stars 775 forks source link

Set up two new data folders splitting old .data folder #491

Closed florian-vuillemot closed 6 months ago

florian-vuillemot commented 9 months ago

Motivation

To better manage data in a cloud environment, we want to split the .data folder according to the data ownership. We identified two types of data:

Description

Add the following fields to the core configuration:

Integration with Taipy Cloud

These configuration attributes will be overloaded on taipy-cloud to point to persistent storage. Applications will not be able to write files and folders anywhere other than these two paths

Breaking changes

Breaking changes must be avoided as much as possible. Any breaking change must be identified, and a migration path must be found.

Note: Even if .data seems to be a good default name for the data_folder, we may want to use a different default name to make the migration easier or to avoid conflicts with the old folder.

Note

Adding a third folder for temporary data has been discussed. However, this has been rejected.

jrobinAV commented 8 months ago

Documentation must be updated.

florian-vuillemot commented 8 months ago

https://github.com/Avaiga/taipy-cloud/wiki/Data-persistency-on-Taipy%E2%80%90Cloud