Update cache.adoc

Hopefully the cache should _de_crease response times, otherwise, I guess it's better to do without it :)
This commit is contained in:
Yury V. Zaytsev 2018-06-18 14:32:07 +02:00 committed by Stian Thorgersen
parent 75c5386d80
commit f1c59d6203

View file

@ -2,7 +2,7 @@
== Server Cache Configuration
{project_name} has two types of caches. One type of cache sits in front of the database to decrease load on the DB
and to increase overall response times by keeping data in memory. Realm, client, role, and user metadata is kept in this type of cache.
and to decrease overall response times by keeping data in memory. Realm, client, role, and user metadata is kept in this type of cache.
This cache is a local cache. Local caches do not use replication even if you are in the cluster with more {project_name} servers.
Instead, they only keep copies locally and if the entry is updated an invalidation message is sent to the rest of the cluster
and the entry is evicted. There is separate replicated cache `work`, which task is to send the invalidation messages to the whole cluster about what entries