Discussion
13
Replies
572
Views
PEGA
Posted: August 5, 2015
Last activity: December 7, 2016
Closed
Is it true that "whenever Cache Hit is returned, the system does not invoke the database"?
Architecture > PRPC Caches > Quiz
The last quiz of the lesson like below, and the correct answer is the first one.
When Cache Miss is returned, the system always queries from the database
So my question is why the second option is incorrect?
Whenever Cache Hit is returned, the system does not invoke the database
I couldn't figure it out from the coures contents.
Which of the following step happens when looking at finding the right rule to execute? (Choose One)
When Cache Miss is returned, the system always queries from the database
Whenever Cache Hit is returned, the system does not invoke the database
Whenever Cache Miss is returned, the system queries from the database and stores in the cache
Whenever Cache Miss is returned, the system throws an exception that rule cannot be found
The key is the word "Whenever", if there is a change in the rule the system marks a dirty flag and even if the rule is in the cache, this dirty flag lets the system query the database. This is covered in the system pulse part of the lesson. Hope this helps.