synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sameera Jayasoma (JIRA)" <>
Subject [jira] Created: (SYNAPSE-704) Session Timeout issues in the DynamicLoadBalanceEndpoint
Date Thu, 28 Oct 2010 13:36:21 GMT
Session Timeout issues in the DynamicLoadBalanceEndpoint

                 Key: SYNAPSE-704
             Project: Synapse
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0
            Reporter: Sameera Jayasoma
             Fix For: 2.1

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