[SERVER-53473] Move compression out of processMessage in ServiceStateMachine Created: 21/Dec/20  Updated: 27/Oct/23  Resolved: 23/Aug/22

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Amirsaman Memaripour Assignee: Backlog - Service Architecture
Resolution: Gone away Votes: 0
Labels: sa-remove-fv-backlog-22
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-52919 Wire compression not enabled for init... Closed
Assigned Teams:
Service Arch
Participants:

 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.


Generated at Thu Feb 08 05:31:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.