siyul-park / uniflow

A high-performance, extremely flexible, and easily extensible universal workflow engine.
MIT License
42 stars 5 forks source link

Ensure Tracer Receive Packets Follow Write Order #168

Closed siyul-park closed 1 month ago

siyul-park commented 1 month ago

Objective

Ensure that the order of packets responded by the tracer matches the order in which they were sent.

Current System State

Currently, packets sent by the tracer are stored in the order they are received and then merged into a single response packet. This can make it difficult to determine which part of the response corresponds to which request due to the non-deterministic nature of the merging process.

Proposed Changes

Merge response packets in the order they were sent to maintain a clear and consistent alignment between requests and responses.

Additional Information

Please provide any additional information, context, or suggestions that might be relevant.