← Data Services

Managing Caches

Many data-services teams have implemented caching to improve the performance of their apps. Below is a list of services for each team along with key information on each, including how to invalidate the cache on-demand.

Aviato

ServiceCache TimeoutTableHow to InvalidateNotes
banno-institution-aggregation1 hourinstitution_aggregationrestart banno-institution-aggregation and core-fetch
Transactions-persistence
Regulation_d_settings
Transfer_configs_institution
jx-transfers6 hours
Transaction-filtering-service30 minutestransaction_affect_code, transaction_code_pairs_to_keep, transaction_code_pairs_to_filter_outRestart transaction-filtering-service
Institution-balance-calculation15 minutescore_balance_calculation_codes (banno_all and transfer_configs_institution)restart core-fetch and institution-balance-calculation
Entitlements-bsl4 hours
reg-d6 hours
ach-configs6 hours

Rocket

ServiceCache TimeoutTableHow to InvalidateNotes

Dreamwork

ServiceCache TimeoutTableHow to InvalidateNotes

Jabberwocky

ServiceCache TimeoutTableHow to InvalidateNotes
banno-users20 secondsusersN/AOnly the following routes are cached:
GET users/{userId}
GET /v2/users/{userId}
GET /v0/users/{userId}/all
GET /v1/users/{userId}/all
GET /v2/users/{userId}/all
godough-api9 minutesN/AIncludes only the user cookie
consumer-bill-pay1 dayYou can reset the cache by restarting mds redis: (Only as a last option because it will affect multiple services in banno) https://github.com/Banno/environments/blob/master/production/marathon/consumer-bill-pay/marathon-app-overrides.libsonnet#L3Includes the getChannelSettings (BilPayChanInq) call
consumer-bill-pay6a - 7p CSTChange environment variables and restartWhile not technically a “cache”, the bill pay payee information from BilPayPayeeInq is not updated during these quiet hours for previously discovered payees.
jx-configs1 dayjx_configs.connection_config_defaults and jx_configs.connection_config_overridesLook up the institution you want to clear the cache for in jw-health > jXchange > Clear Caching buttonIf the button isn’t working, use this guide.

Discovery

ServiceCache TimeoutTableHow to InvalidateNotes
consumer-auth30 secondsN/A - RedisN/ADistributed Redis Cache. The cache gets filled based on cache misses.
consumer-auth1 hourN/Arestart consumer-auth
api30 minutesconsumer-eulasdelete redis entrycache of consumer-eulas

Pupper

ServiceCache TimeoutTableHow to InvalidateNotes
institution-noteslife time of serviceN/A - kafkarestart servicecache of kafka topic com.banno.institution.notes.v0
mobile-admin-facade1 hourusers, online-aggregation, and login_accountsrestart serviceprovides data for Banno People Dashboard graphs and counts
active-user-collector1 hourN/A - kafkarestart servicecache of seen users to determine if service should attempt to insert into active-user-collector tables
zelle-service24 hoursN/A - service callrestart servicecache of core-provider data from http request to banno-institution-aggregation service
symxchange-http/rpc-server5 minutesinstitution_symxchange_configs and symxchange_institution_external_loan_inforestart serviceper institution configs
symxchange-http/rpc-serverbased of the ttl from samlAssertion response, usually 115 minutesNArestart serviceget new samlAssertion every 115 per toke auth enabled CU
notification-push-channels1 hourNA - service callrestart servicecache of users’ device registrations from device service
notification-event-authoring15 minutesNA - service callrestart servicecache of instiution themes from node-grip-assets-proxy
notification-push24 hoursNA - vault callrestart servicecache of one signal api credentials from vault
ees-raw-event-consumerlife time of serviceNA - kafkarestart servicebounded cache of ees.xml.events.v0 topic