Change the Mobile Integration Server caching behavior

For information that is cached by the Mobile Integration Server, you can change the item count (number of items of each type that are cached) and the default expiration time after which cached data is refreshed.

Procedure

  1. Open your <sis>-mobileserver-config.groovy file in an editor.
  2. Add the following section anywhere in the file.
    /*Mobile Integration Server cache settings*/
    ellucian.cacheSettings.caches {
    grades { cacheItemCount = 1 lifetimeMinutes = 1440 }
    terms { cacheItemCount = 50 lifetimeMinutes = 720 }
    courses { cacheItemCount = 1000 lifetimeMinutes = 720 }
    sections { cacheItemCount = 4000 lifetimeMinutes = 60 }
    faculty { cacheItemCount = 1500 lifetimeMinutes = 120 }
    campuses { cacheItemCount = 1 lifetimeMinutes = 720 }
    buildings { cacheItemCount = 1 lifetimeMinutes = 720 }
    numbers { cacheItemCount = 1 lifetimeMinutes = 15 }
    registrationTerms { cacheItemCount = 1 lifetimeMinutes = 720 }
    academicLevels { cacheItemCount = 1 lifetimeMinutes = 1440 }
    }
  3. Modify the item counts or expiration times as desired.
    Note the following:
    • See Mobile Integration Server cache for the information that is used by each SIS. For example, Banner uses only sections, registrationTerms, and academicLevels.
    • Items that have an item count of 1 should remain set to 1. These items are always cached as a single bag, so there is no benefit to setting a higher number.
    • If the number of items in your SIS is greater than the default item count, you can increase the item count to accommodate the number of items that you have. If the number of items exceeds the specified item count, the cache will keep the items that were used most recently and delete the items that were used in the more distant past. Keep in mind that some items, particularly courses and sections, can contain a significant amount of data, so increasing the item count will increase the memory load.
    • To improve registration performance, consider increasing the sections item count as described in Modify caching for improved registration performance.
  4. Save your changes to the <sis>-mobileserver-config.groovy file.
  5. Restart Tomcat to apply the changes.