Mahadev konar commented on ZOOKEEPER-231:

here is a proposal for quotas -- 

The goal:
- prevent run away processes or applications bringing down the service.
- providing admins to look at usage and being able to monitor proactively

What kind of quoata would we have
- namespace quotas
- bytes quota


- Reserve the node /zookeeper for zookeeper stats and zookeeper data management.
- reserve /zookeeper/quota/ for quota related data structures

The proposal is to have subtree based quotas for the number of bytes and number 
of nodes as well.
The monitoring of quotas and stats should be availabe through the command port 
and through zookeeper itself via the /zookeeper node.

The proposal is to have something like 

limits are the stored values that signify the limit for a subtree path
and usage denote the actual usage of the subtree in terms of bytes or count or 
number of writes/reads.

> 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