Keith Wall created QPID-7687:
--------------------------------

             Summary: Expose excessive resource utilisation through management
                 Key: QPID-7687
                 URL: https://issues.apache.org/jira/browse/QPID-7687
             Project: Qpid
          Issue Type: Improvement
          Components: Java Broker
            Reporter: Keith Wall


For multi tenant use-cases it is important for an operator managing a Broker to 
be able to identify an errant application.  For example, if an application is 
creating excessive connections, the operator need a mechanism to identify the 
endpoint and connection details so intervention can be taken to protect the 
service.

The model statistics currently don't expose this information.   Useful 
information can be gleaned from the logs, but this is inconvenient if the logs 
have rolled and often needs a bit of tricky awking to pull out the relevant 
information.

* Authentication Provider could keep a tally of authentications per user id
* Port a tally of  number of opened connections per endpoint.  The tallies 
would use LFU cache.    

* Excessive messaging Sessions is also a common anti-pattern. Connections 
should have a statistic counting the number of Sessions created on them. 

The information would be exposed through the REST API/Web Management Console.  
A summary could also be periodically written to the log by the housekeeper.

Configurable alerting rules would report if the number of 
connections/session/consumers opened within a time period is deemed too high.
    



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to