0

Space reservation system

I am writing an webapp where users can sign up to. Every user hass 2GB of disk space for free use. Now ofc. there will be users that don't use their space at all or barely and it would be wasterfull to reserve 2 full gb. How could every user have thoose 2 gb without wasting disk space

2nd May 2018, 12:31 PM
Daniel S
Daniel S - avatar
1 Antwort
0
Maybe you create a little packet whenever a user Uploads something; this is lied at any place on the disk, and the place is saved. When then sb wants to Upload, you check if the sum of all packets is smaller than 2GB. This is just an idea, I'm not familiar with this.
2nd May 2018, 12:44 PM
Jonas Schröter
Jonas Schröter - avatar