Uploaded image for project: 'OASIS Advanced Message Queuing Protocol (AMQP) TC'
  1. OASIS Advanced Message Queuing Protocol (AMQP) TC
  2. AMQP-88

Inefficient Encoding of Manageable Entities

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: WD02
    • Fix Version/s: None
    • Component/s: Management
    • Labels:
      None
    • Proposal:
      Hide

      One proposal for tightening up the encoding is to limit queries and responses to a singe type (I'll raise this as a separate issue). If this is done, then the type-name is implicitly known and the set of attributes (columns) is consistent across entities (rows).

      The encoding could then be a list of lists, the first list provides the attribute names (column headers) and the subsequent lists provide the values (rows).

      Show
      One proposal for tightening up the encoding is to limit queries and responses to a singe type (I'll raise this as a separate issue). If this is done, then the type-name is implicitly known and the set of attributes (columns) is consistent across entities (rows). The encoding could then be a list of lists, the first list provides the attribute names (column headers) and the subsequent lists provide the values (rows).

      Description

      In operations that return the contents of multiple manageable entities (READALL), the encoding of the data is very inefficient due to the repeated encoding of the same data:

      • Each entity has a 'type' attribute in its map. If there are N instances of a type, there will be N copies of the type name encoded.
      • For multiple instances of the same type, the type's attribute names (i.e. map keys) are redundantly encoded.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tross1 Ted Ross
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: