[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666937#action_12666937
 ] 

Flavio Paiva Junqueira commented on ZOOKEEPER-231:
--------------------------------------------------

This might be a naive question, but what happens if I create a znode with x 
bytes, and I try to set a quota for "x' < x"? My guess is that the setQuota 
operation will fail. If this is correct, then the semantics is a little awkward 
because the service doesn't allow me to set a quota for a given znode that 
might be using too much space. 

Along the same lines, why not enabling to set quotas for nodes that do not 
exist? Because the create call enables a client to add data to a new node, it 
might be desirable to set a quota before creating the node. 

I was also wondering about performance. Do you have an idea if this quota 
scheme will affect our throughput performance?

> Quotas in zookeeper
> -------------------
>
>                 Key: ZOOKEEPER-231
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-231
>             Project: Zookeeper
>          Issue Type: New Feature
>    Affects Versions: 3.0.0
>            Reporter: Mahadev konar
>            Assignee: Mahadev konar
>             Fix For: 3.1.0
>
>         Attachments: ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, 
> ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, 
> ZOOKEEPER-231.patch
>
>
> creating quota's in zookeeper so that a runaway application does not bring 
> down the zookeeper cluster.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to