Skip to content

Profile DB

Data retrieval in many cases depends on the calling user's profile. Looking up a user's profile in the database can become a bottleneck. Using a cache can mitigate that problem. By providing environment variable, the profile cache can be enabled and be configured in size.

  • PROFILE_CACHE_ENABLED default false. By setting to true becomes enabled.
  • PROFILE_CACHE_SIZE size of the used LRU-cache.

If caching is activated in a distributed installation than it is necessary to run insight-profile.war in a single (and separate) JEE-Server. And in Backend-node and UI-nodes environment variable PROFILE_URL must be configured and point to this single JEE-Server.

i.e. PROFILE_URL=http://singleserver.com:8080/insight-profile