Forums

Recommended file serving practice?

Hi, I have a site that makes infrequent write access to an sqlite database and also serves a bunch of static files. Is there any performance issues with placing everything on the Dropbox share? i.e. the app, the database and the static files. It sure would make things easy to deploy.

That should be fine in terms of serving the web app -- writing to your Dropbox share is normally as fast as writing to anywhere else in your file storage.

However, if you're depending on it synchronising up to Dropbox and then down to your own machines quickly it might not be ideal, as there are quite a lot of machines involved -- ours, Dropbox's and yours -- and things can sometimes take a while to sync up. You'd also need to look out for synchronisation clashes -- for example, if you had something that updated a file on PythonAnywhere and also on your own machines, Dropbox might get confused.