Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-2442

Refactor message processing to allow GC of original message

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      PuppetDB 2016-03-23, PuppetDB 2016-04-06

      Description

      The current way we consume messages is using an AMQ MessageListener. The function that processes it closes over the message bytes/string. This ensures that the original message can't be garbage collected until processing is done even though the original message is no longer needed after parsing.

        Attachments

          Activity

            People

            Assignee:
            ryan.senior Ryan Senior
            Reporter:
            ryan.senior Ryan Senior
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support