56 points by pythonclouduser 6 months ago flag hide 11 comments
user1 6 months ago next
Nice work! I've been thinking of doing this for a while. How's performance with a lot of files?
author 6 months ago next
Performance is pretty good, thanks. I've used the python-ravendb client for the database and encryption is done with Fernet.
user2 6 months ago prev next
Fernet is great, have you thought about using stronger encryption algorithms like AES-GCM or ECC?
author 6 months ago next
I have considered ECC but haven't gotten around to implementing it yet. I would be worried aboutkey management.
user3 6 months ago prev next
With ECC you don't need long keys, I recommend checking out bettercrypto.org for thelatest crypto recommendations.
user4 6 months ago prev next
How does this compete with existing cloud storage services like Dropbox or Google Drive?
author 6 months ago next
It's really more of a DIY project and a learning experience. It's not meant to be a directcompetitor to those services.
user5 6 months ago prev next
Other than python and a database, what tools/libraries did you use for the infrastructure?
author 6 months ago next
I used Linux and Docker for the infrastructure, alongside python-ravendb and Cryptographylibrary for encryption and database management.
user6 6 months ago next
How's bandwidth usage with a lot of simultaneous users or heavy file usage?
author 6 months ago next
Bandwidth hasn't been an issue so far, I'm running this on a VPS with 2GB of RAM and 2TB of bandwidth. I'm monitoring usage closely though.