synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Supun Kamburugamuva (JIRA)" <>
Subject [jira] Resolved: (SYNAPSE-704) Session Timeout issues in the DynamicLoadBalanceEndpoint
Date Tue, 02 Nov 2010 10:14:24 GMT


Supun Kamburugamuva resolved SYNAPSE-704.

    Resolution: Fixed

Applied the patch. Many thanks Sameera for the contribution.

> Session Timeout issues in the DynamicLoadBalanceEndpoint
> --------------------------------------------------------
>                 Key: SYNAPSE-704
>                 URL:
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0
>            Reporter: Sameera Jayasoma
>             Fix For: 2.1
>         Attachments: patch-SYNAPSE-704.txt
> DynamicLoadBalanceEndpoint supports session affinity based dynamic load balancing. Here
we maintains session information in the SessionInfomation object. For these sessions in the
ESB, you can set a session timeout. When the session is expired, SessionInformation object
is removed from the internal map, maintained by the SALSessions class. These sessions are
timed-out even if there are active requests. That means session expiry time is not updated.
> The solution is to update the session expiry time per request. So when a requests come
in a session, we need to updated the expiry time in the following manner.
> expirytime = Current_time + session-time-out;
> I've attached a patch which solves this issue.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message