How do I update slow client settings from AMPS 4.3 to AMPS 5.0?

Follow

[This article refers to migration from earlier versions of AMPS to AMPS 5.0. It is currently provided for historical reference, but will be removed soon.] 

In AMPS 5.0, Slow Client handling has been completely redesigned. Rather than enforcing limits strictly by client (which allowed unlimited growth overall), AMPS now allows you to set overall limits for the instance and allocate a portion of that overall limit to each client. In addition, rather than strictly monitoring the size of buffered messages for a client, AMPS allows you to disconnect clients based on the amount of time messages have been held for the client.

Guidelines for converting Slow Client parameters are presented below (as adapted from the AMPS Configuration Guide).

For more details on Slow Client handling in AMPS 5.0, see the AMPS User Guide.

ClientOffline

Beginning with AMPS 5.0, slow client offlining no longer uses this parameter. To disable slow client offlining, set MessageMemoryLimit to 100%.

ClientBufferThreshold

Beginning with AMPS 5.0, slow client offlining no longer uses this parameter. To set a limit for an individual client, set ClientMaxCapacity to the appropriate percentage.

ClientMaxBufferThreshold

Beginning with AMPS 5.0, slow client offlining no longer uses this parameter. To set a limit for an individual client, set ClientMaxCapacity to the appropriate percentage.

ClientOfflineThreshold

Beginning with AMPS 5.0, slow client offlining no longer uses this parameter: offlining occurs when the total amount of space uses for messages exceeds the MessageMemoryLimit.

 ClientOfflineDirectory

Beginning with AMPS 5.0, slow client offlining no longer uses this parameter. Use MessageDiskPath instead.

SlowClientDisconnect

Beginning with AMPS 5.0, slow client offlining no longer uses this parameter. To disable SlowClientDisconnect, set a large value for MessageMemoryLimit or MessageDiskLimit (for example, setting 100% of the MessageMemoryLimit will allow unrestricted memory growth, while setting the capacity of the device as MessageDiskLimit will allow unrestricted offlining).

Keywords: slow client offlining, configuration file conversion, config.xml, new slow client

Have more questions? Submit a request

Comments

Powered by Zendesk