We have a web platform that allows users to upload and download their data stored in a storage connected to Linux via NFS. currently about 350GB data is stored.
I want to show each user their current storage usage on the web in real time like Google drive or Dropbox when you update a file, the remaining disk space is shown right away.
My idea was to run du command on Linux and send an update query to DB but du takes so long.
Is there any better idea that I can do this on real time?
Thanks
Aucun commentaire:
Enregistrer un commentaire