Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-609

Change various internal config containers to use a "bool" type instead of MgmtInt

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.7
    • HTTP
    • None

    Description

      Even though all configs in librecords are MgmtInt (64-bit), there's no reason why for example the HTTP struct holding the current configs need to use 64-bit ints to hold the types that are booleans. Changing this will reduce some memory consumption (I'd estimate up to 100MB on a busy server), but also reduce the amount of memory that has to be copied for each transaction.

      Attachments

        Activity

          People

            zwoop Leif Hedstrom
            zwoop Leif Hedstrom
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: