Improving performance of rate tables loaded in memory

To improve rate table lookups, these configuration parameters influence the behavior of the rate table row cache. You can modify the values in config.xml.

Parameter Description Default
RateBookCacheUpdateIntervalSecs The time in seconds after which the rate book cache is rebuilt: all non-active rate books are refreshed and any rate books added after the last update are added to the cache. 307
RateBookCacheEntryLifetimeSecs The maximum time in seconds that a non-active rate book can stay in the rate book cache without being refreshed. 53
RateTableCacheConcurrency Provides guidance on the maximum number of concurrent operations on the rate table cache. 16
RateTableCacheEntryLifetimeSecs The maximum time in seconds for which a rate table in a non-active rate book can stay in the rate table cache without being refreshed. 53
RateTableCacheMaxSize The maximum number of rate tables that can be in the rate table cache. For no limit, set to -1. To disable rate table caching, set to 0. -1
RateTableCacheUpdateIntervalSecs The time in seconds after which the rate table cache is cleared. 307
RateTableDefinitionCacheUpdateIntervalSecs The time in seconds after which the rate table definition cache is cleared. 601

A non-active rate book is a rate book not in Active status.