niharika.jain@validsoft.com Wrote:
-------------------------------------------------------
> MyProject server creates a session id and sends it back in case of
> stateful calls, back to the client server and this id is carried in
> subsequent request-response.
>
> This workflow is in place and working till we have 1 server. In case
> of 3 servers, we need to make step 4 and 5 sticky, so that all
> requests for a session id goes to the same server.
For the sake of conversation, what if you always create a session id with additional information about the state type and use that to determine what is going where? (at step 4)
ea. request/?data=xxxx&sessionID=yyyyy&state=zzzz
-------------------------------------------------------
> MyProject server creates a session id and sends it back in case of
> stateful calls, back to the client server and this id is carried in
> subsequent request-response.
>
> This workflow is in place and working till we have 1 server. In case
> of 3 servers, we need to make step 4 and 5 sticky, so that all
> requests for a session id goes to the same server.
For the sake of conversation, what if you always create a session id with additional information about the state type and use that to determine what is going where? (at step 4)
ea. request/?data=xxxx&sessionID=yyyyy&state=zzzz