Replies: 0 comments 1 reply
-
For the storage, IMO the most simple way to do this is to use the OVH Object storage. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Files upload functionality
To prepare the Lenra beta release, we need to have the possibility for user to upload files to app they use.
We must handle 3 part for this functionality :
Client-side
For the client-side, I think we can use the file browser that work for many platform : iOS, Linux, macOS, web, Windows
For android we need to provide an alternative or write a simple package. (ex: path_selector)
Server-side
We can send the data to the listener and let the listener save the file content to the storage.
Or we can save the file to the storage server and provide the "path" to the listener to allow listener to read it.
We also must provide some API endpoint to allow the app to write/read/delete the file on the storage.
Storage-side
We can bind a k8s volume to the app container to allow the app to access data, but that can have some limitation (blocking scalability, replica can only be run on one k8s node if they share the same volume)
We can also host an S3 cluster (Or rent one) to save files using an HTTP API. This solution seems better for me, but we need to check if there is no app's use case blocked by this solution.
Beta Was this translation helpful? Give feedback.
All reactions