RainYuY commented on issue #15574:
URL: https://github.com/apache/dubbo/issues/15574#issuecomment-3131337930

   After some thought, I'm considering whether we can implement this 
functionality based on the sessionID.
   
   Currently, the sessionID is randomly generated using UUID. Instead, we could 
generate it based on the identifier of the machine in the cluster.
   With this change, during POST (message) requests in SSE mode, the generic 
client will use this sessionID, which allows us to locate the corresponding 
machine and forward the request accordingly.
   
   If the original machine goes down, the associated connection will also be 
automatically closed, so I believe we don't need to worry about additional 
stability concerns.
   
   Key aspects to consider:
   
   The logic for generating the sessionID;
   
   What machine identifiers are available and suitable;
   
   The request forwarding mechanism.
   
   @conghuhu @songxiaosheng cc


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to