Method and apparatus for maintaining session affinity across multiple server groups

    公开(公告)号:US07543066B2

    公开(公告)日:2009-06-02

    申请号:US09845502

    申请日:2001-04-30

    IPC分类号: G06F15/16

    摘要: The invention is a method and apparatus for maintaining session affinity within a server farm when requests sharing a session ID switch between server groups or between server clones in a single server group. In accordance with the invention, client requests include a list of clone identification codes, each code uniquely identifying a clone within a server group for handling the request. The clone identification code may be appended to a session identification code. For each different server that handles a request in a session, a new clone identification code is appended without deleting or overwriting any previously appended clone identification codes. When a request is received, the list of clone identification codes associated with the request is parsed in a predetermined order to search for the first clone identification code that matches one of the clone identification codes of a server in the appropriate server group. If a match is detected, the request is dispatched to that clone. If no match is found, the request is dispatched to a server clone in the server group using any reasonable Work Load Management (WLM) mechanism and then the clone identification code of the selected clone is added to the list.

    Method and apparatus for scheduling invalidation tests for HTTP sessions
    2.
    发明授权
    Method and apparatus for scheduling invalidation tests for HTTP sessions 有权
    调度HTTP会话无效测试的方法和装置

    公开(公告)号:US07222344B2

    公开(公告)日:2007-05-22

    申请号:US09822967

    申请日:2001-03-30

    IPC分类号: G06F9/46 G06F15/16

    摘要: The invention is a method and apparatus for invalidating session data stored in a database. In accordance with the invention, http sessions stored in the database are allowed to remain in the database without real time testing for session time out. Instead, invalid (or timed out) sessions remain in the database until a specified time. At that specified time, all http sessions are invalidated without actually testing them for time out. Alternately, each session can be individually tested for time out and only those sessions which have actually timed out are removed from the database or otherwise invalidated.

    摘要翻译: 本发明是一种使存储在数据库中的会话数据无效的方法和装置。 根据本发明,允许存储在数据库中的http会话保留在数据库中,而无需实时测试会话超时。 相反,无效(或超时)会话保留在数据库中,直到指定的时间。 在指定的时间内,所有http会话都无效,但实际上并没有测试它们。 或者,每个会话可以单独测试超时,并且仅实际超时的会话将从数据库中删除或以其他方式无效。

    Voting mechanism for session invalidation processing in an application server cluster
    3.
    发明授权
    Voting mechanism for session invalidation processing in an application server cluster 有权
    应用服务器集群中会话无效处理的投票机制

    公开(公告)号:US07610373B2

    公开(公告)日:2009-10-27

    申请号:US10854908

    申请日:2004-05-27

    IPC分类号: G06F15/173

    摘要: Under the present invention, there is provided a voting mechanism for assigning an application server of an application server cluster the task of invalidating all sessions containing listeners in the cluster for a web application. A method for session invalidation processing comprises assigning a vote to a web application upon launch of the web application in an application server of the application server cluster, broadcasting the vote to other application servers of the application server cluster, receiving a vote for the web application from each of the other application servers in the application server cluster in which the web application has been launched, and assigning invalidation processing to the application server containing the web application having the highest vote. The votes are dynamically updated upon the removal or addition of an application server from/to the application server cluster.

    摘要翻译: 在本发明中,提供了一种投票机制,用于将应用服务器集群的应用服务器分配给在web应用的群集中使包含收听者的所有会话无效的任务。 一种用于会话无效处理的方法包括:在应用服务器集群的应用服务器中启动web应用时,向Web应用分配投票权,将投票广播给应用服务器集群的其他应用服务器,接收对web应用的投票 从应用程序服务器集群中的每个其他应用程序服务器中启动Web应用程序,并将无效处理分配给包含具有最高表决权的Web应用程序的应用程序服务器。 从应用程序服务器集群中删除或添加应用程序服务器时,投票将动态更新。

    Method and system for dynamically rebalancing client sessions within a cluster of servers connected to a network
    4.
    发明授权
    Method and system for dynamically rebalancing client sessions within a cluster of servers connected to a network 有权
    在连接到网络的服务器集群内动态重新平衡客户端会话的方法和系统

    公开(公告)号:US08909782B2

    公开(公告)日:2014-12-09

    申请号:US11180072

    申请日:2005-07-13

    IPC分类号: G06F15/173 H04L29/06

    CPC分类号: H04L67/1027 H04L29/06

    摘要: A dynamic rebalancer operates in a server cluster independently of routers directing traffic to the servers in the cluster. An analysis component uses configuration information and statistics information to determine which session, if any, should be moved. A filter component receives transfer instructions from the analysis component. When the filter component receives transfer instructions from the analysis component, the filter component adds a redirect command to the client request. The filter component continually redirects client requests within the session to the new server until the client receives the redirect command and begins to send client requests to the new server.

    摘要翻译: 动态重新平衡器在服务器集群中独立于将流量引导到集群中的服务器的路由器。 分析组件使用配置信息和统计信息来确定应该移动哪个会话(如果有的话)。 滤波器组件从分析组件接收传输指令。 当过滤器组件从分析组件接收传输指令时,过滤器组件向客户端请求添加重定向命令。 过滤器组件会持续将会话中的客户端请求重定向到新服务器,直到客户端收到重定向命令并开始向新服务器发送客户端请求。

    Maintaining sessions in a clustered server environment
    5.
    发明授权
    Maintaining sessions in a clustered server environment 失效
    在集群服务器环境中维护会话

    公开(公告)号:US6098093A

    公开(公告)日:2000-08-01

    申请号:US45986

    申请日:1998-03-19

    摘要: A technique, system, and computer program for maintaining session information among multiple clustered computers for servlets and providing those servlets with various session services. The session services are implemented using a plug-in servlet engine. The session information is preferably maintained without using a persistent data store, to avoid performance penalties associated with storing information in persistent storage such as a database. A locking technique is implemented to prevent servlets from inadvertently overwriting each other's session object data. A registration process is preferably used, to optimize communication of configuration property changes. Non-proprietary interfaces are used, allowing for scalability, portability, and maximum industry acceptance of this solution.

    摘要翻译: 一种技术,系统和计算机程序,用于在多个集群计算机之间维护用于servlet的会话信息,并为具有各种会话服务的那些servlet提供。 会话服务使用插件servlet引擎实现。 优选地,会话信息被维护而不使用持久性数据存储,以避免与在诸如数据库的持久存储器中存储信息相关联的性能惩罚。 实现锁定技术以防止servlet无意中覆盖彼此的会话对象数据。 优选使用注册过程,以优化配置属性改变的通信。 使用非专有接口,允许扩展性,可移植性和最大的行业接受度。