Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-53473

Move compression out of processMessage in ServiceStateMachine

    • Service Arch

      We should reorganize ServiceStateMachine and move any functionality not related to processMessage into the appropriate functions (e.g., sourceMessage). Examples are:

      • Decompressing incoming messages (see here) is a concern for sourceMessage and should be moved into this function.
      • Compressing outgoing messages (see here) is a concern for sinkMessage and should be moved out of the future continuation in processMessage.

      We should also make sure the metrics (e.g., networkCounter) are not impacted by the changes introduced by this ticket.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: