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

Move compression out of processMessage in ServiceStateMachine

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • None
    • None
    • Internal Code

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-servicearch Backlog - Service Architecture
              amirsaman.memaripour@mongodb.com Amirsaman Memaripour
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: