I am looking to offer some free hosting for CouchDB. The authorization part is fairly straightforward (user has access to 1 database) but I was wondering if there is any simple way to assign a space quota for that database/user.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
CouchDB does not support quotas natively, so you may need something custom.
You can enforce it yourself, either with a tiny fork of CouchDB or with your related hosting software, and use the usage information returned by CouchDB. Since version 1.2, CouchDB indicates not only the disk usage, but “data” size, not counting metadata and old data.