We provide you with the best Pega Cache Interview Questions and Answers. Please check the questions and answers below.
Cache Interview Questions
What do you mean by rule assembly ?
Ans : Rules assembly is a technique for improving performance by generating and compiling the Java code that corresponds to a rule only when needed.
2. What is static assembler ?
Ans : The static assembler is a utility that you use to preassemble and cache the rules of an application.
3. What is virtual rule table cache ?
Ans : The Virtual rules table cache is the default caching setting for all Pega applications.
It is automatically primed during system startup with rules that have been either statically assembled or built dynamically as they were used in the system.
4. Is Application-Based-Assembly (ABA) caching still being used in Pega?
Ans:No, it is replaced by Virtual Rule Table Cache.
5. What is look up list cache ?
Ans : The lookup list cache (LLC) is a cache of recent search results that are available for display and reuse.
6. What is rule cache ?
Ans : The rule cache, contains recently found and non-found rules that are used to improve the performance of the engine, especially during rule resolution searches.
The system adds to the cache any rule that is read three or more times, however, for some rule types, a higher limit applies.
7. What is database cache or system cache ?
Ans : It is nothing but the rule cache .
8. What are the rule types for which static content cache is stored ?
Ans : Stores static content for these rule types:
Binary file rules (Rule-File-Binary rule type, for images such as JPG files)
Text file rules (Rule-File-Text rule type, for JavaScript and Cascading Style Sheet files)
Form file rules, for rule forms (Rule-File-Form rule type)
eForm file rules (Rule-File-eForm rule type, for PDF forms)
The location of the StaticContent directory is determined by a temporary files path setting in the prconfig.xml file.
9. Is it advisable to clear production cache periodically ?
Ans : If properly designed , an application should have high availability and high performance, even during extended periods of uptime. In a production setting, there are no requirements for periodic clearing of any cache.
10. Is there any property to indicate whether rulecache is enabled in a particular node or not ?
Ans : pxCacheEnabled is the property which shows the same
11. What is BLOB caching ?
Ans : BLOBs that are stored in table rows use the same buffer caching rules as the tabular row, as they reside in the same data block as the rows. By default, BLOBs stored out of the row use
direct path reads and writes to store and retrieve data without caching.
12. Do you recommend BLOB Removal ?
Ans : Database tables which are the target for Rule-Declare-Index rules are candidates for optimization by removing the pzPvStream (BLOB) column. For example, if workparties are used in work items and no customization is required, removing the pzPvStream column from the pc_index_workparty table can improve system performance.
13. Where cache are stored ?
Ans : Most caches are stored in the system memory (JVM) or on disk
14. What is rule cache ?
Ans : Rule cache holds data about the reads done from the PegaRULES database for rule classes. If the data is available in the database, the system retrieves the rule, stores it in the Rule cache, and then sends the rule information back to whichever process requested it. The next time
15. What if rule cahce is not tuned properly?
Ans : An incorrectly sized Rules cache may bog down memory resources
16. What is rule assembly cache ?
Ans : Rules Assembly cache is used to minimize Java code generation and compilation mainly by tracking RuleSet lists and user entrie.
17. What is the significance of proper tuning of Rule assembly cache ?
Ans : An improperly sized Rules Assembly cache can lead to repetitive and,sometimes, continuous rules assembly.
18. What is Conclusion cache ?
Ans : Part of Dictionary cache . contains instances of Java objects (resulting from the Rules Assembly process) that were generated, instantiated, and then persisted to the database for future use
19. What is Property Definition cache
Ans : It is a cache of all the Rule-Obj-Property instances used by the system. This cache enhances system efficiency because properties are looked up frequently.
20. Name few caches stored in memory ?
Ans : Rule Cache, Rule Assembly Cache, Dictionary Cache.
21. Name few cache that stored in Disk ?
Ans : LookupList cache and Static content cache.