I have a Django service that allows users to upload files that are then converted in other format and stored for the users to download.
The file uploading works, I can see the files on the mounted disk instance, but I don’t see any option to serve them.
What’s the best practice for serving files from the persistent disk? I guess I can just use django.views.static.serve for that purpose, but it’s terribly inefficient, especially for large files and high user convurrency, because app server would be busy serving files instead of doing other valuable work.
What’s the best way to do it?