Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1298

Policy settings in vhostUserGroupSettings could be cached in C code

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.0
    • Fix Version/s: None
    • Component/s: Policy Engine
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              chug Chuck Rolke
              Reporter:
              chug Chuck Rolke
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: