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

Krishna Sankar commented on ZOOKEEPER-231:
------------------------------------------

Sorry for the second comment.
I suddenly realized, what Mahadev is proposing is a per path quota and not a 
per client quota. SO when a path exceeds a limit, we just prune the path. A 
runaway client most probably will again fillup the path and we prune again.
May be we should have a per client model /zookeeper/quota/<ipAddress>/usage. 
ust accumulate the siz of all artifacts the client stores with ZooKeeper. Of 
course, when the limit exceeds, we would have to deny storage for that client 
and this has the potential for DOS.

> 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
>
>
> 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