Chuck Rolke created DISPATCH-1298:
-------------------------------------

             Summary: Policy settings in vhostUserGroupSettings could be cached 
in C code
                 Key: DISPATCH-1298
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1298
             Project: Qpid Dispatch
          Issue Type: Improvement
          Components: Policy Engine
    Affects Versions: 1.5.0
            Reporter: Chuck Rolke
            Assignee: Chuck Rolke


As of release 0.5 when policy checking is in effect every incoming connection 
performs a policy lookup and then a policy settings fetch. The settings could 
be brought into C code space once to be cached and reused for the lifetime of 
the associated vhost policy object.

The result would be a savings in time and space as the settings fetch is a 
relatively expensive call through python, and the fetched settings are 
immutable and could be shared by all connections that use them.

The down side would be managing the cached settings to be sure they are updated 
and cleaned up when the associated vhost object is replaced through management 
access.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to