Does the SPS client perform some sort of idle "heartbeat" call back to the SPS server ?

Discussions related to SoftPro Select Server development.

Moderator: Phil Barton

Post Reply
toddsou
Posts: 51
Joined: Wed Jul 25, 2012 9:39 am

Does the SPS client perform some sort of idle "heartbeat" call back to the SPS server ?

Post by toddsou » Thu Apr 26, 2018 11:36 am

Hi-

See question in subject. That is, if the user has established a session, but is otherwise inactive, will the client continue to make calls every so often back to the server?

What is the frequency of those calls?

(I'm trying to determine a valid session timeout setting for a load balancer.)

Thanks.

-Todd

Phil Barton
Posts: 54
Joined: Wed Sep 24, 2008 2:37 pm
Location: Raleigh, NC
Contact:

Re: Does the SPS client perform some sort of idle "heartbeat" call back to the SPS server ?

Post by Phil Barton » Thu Apr 26, 2018 2:03 pm

The client does have a heartbeat that it sends to the server to renew its session. This happens about every 15 seconds whether the client is active or idle. If the client has experienced an interruption (i.e. temporary loss of connection to the server), it tries every 5 seconds until the connection is re-established. The heartbeat will stop if the client is closed, crashes or the connection to the server is fatally severed.
Phil Barton
Software Architect
SoftPro

Post Reply