Python web app files on separate block storage?

I use an open source Python web app framework for my work stuff. I have it installed on a small Vultr VPS.

I’m getting close to running out of storage (80GB in this case), mainly because I now regularly need to upload files.

It’s more economical for me to add some SSD block storage to the VPS than to upgrade the VPS, since I don’t need more RAM/CPU, just more storage.

Unfortunately, there’s no way to mount just the files directory to the “external” storage.

If I mount the entire directory to the external storage, do you think I’d notice much of a difference in performance versus the python files being on the same disk as the OS?

I doubt it, the CPU throttling on VPSes is usually the largest bottleneck for anything.

Don’t forget that linux can do symlinks (ln -s), this allows you to easily move files to another location and redirect programs to it. The command “ln -s /path/to/real/file /path/to/link” will create a link pointing at the real file.

This topic was automatically closed 273 days after the last reply. New replies are no longer allowed.