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

Policy settings in vhostUserGroupSettings could be cached in C code

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.5.0
    • None
    • Policy Engine
    • 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

            chug Charles E. Rolke
            chug Charles E. Rolke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: