Sunday, January 1, 2017

Caching

Rule cache

The rule cache, also referred to as the database cache or system 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.
Note: Instances of most concrete classes other than those derived from the Rule- base class are not cached in the rule cache.
In a clustered system, a rule recently updated by a user on one node can also be present (and stale) in the rule cache of another node. During system pulse processing, the Pega-RULES agent on each node clears such stale rules from the rule cache.


Assessing rule cache performance
For a statistical overview of rule cache performance on the node since startup:
1.  Start the System Management Application.
2.  Select Advanced > Rule Cache Management.

Determining the rule cache rule count and size
Use the System Management Application (SMA) to view the current rule count and size in bytes of the rule cache.
1.  From Designer Studio, start the System Management Application by clicking Designer Studio> System > Operations > System Management. You might be prompted for a username and password.
2.  Select a node.
3.  Click Memory Management.
4.  In the Caches group, locate the row corresponding to your application's caching type.

Disabling the rule cache

As a diagnostic aid to be used in specific situations, you can use the System Management Application (SMA) to temporarily disable the rule cache.
This event is recorded in the Alert log as the PEGA0022 alert. The corresponding alert when you re-enable the rule cache is the PEGA0023 alert.
For more information, see PDN articles Understanding the PEGA0022 alert and Understanding the PEGA0023 alert.
Caution: Use the System Management Application only when necessary and for short intervals because system performance is impaired when the rule cache is disabled.

Static content cache
The Pega 7 Platform 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. Each directory below the StaticContent directory contains extracted static content. Additionally, the directory name encodes the exact ruleset list that the content belongs to. To minimize storage, the Pega 7 Platform creates directory names with a hash code derived from an entire ruleset list.
For example, the file system can contain many different files named CompanyLogo.jpg. The CompanyLogo.jpg file that is displayed in a browser session depends on that user's ruleset list.
Note: Use the System Management application to delete all the static content extracted on the current node.


39 comments:

  1. Thanks for info. We provides world class training with latest cutting-edge information on PEGA tools. We have highly qualified architects with good hands on experience in providing high quality training for learners. For More details, Please visit http://www.w3dtechnologies.com/pega-online-training/

    ReplyDelete
  2. Thank you for posting.Its a very useful info,please keep updating.
    Spoken english Training in Bangalore

    ReplyDelete
  3. Thank you for posting.Its a very useful info,please keep updating.
    Best Oracle Training in Bangalore

    ReplyDelete
  4. You have clearly explained about the process thus it is very much interesting and i got more information from your blog.For more information visit our website.
    Pega Training in Ameerpet, Hyderabad


    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. I am so proud of you and your efforts and work make me realize that anything can be done with patience and sincerity. Well I am here to say that your work has inspired me without a doubt.
    Data Science training in Chennai | Data science training in bangalore
    Data science training in pune| Data science online training
    Python training in Kalyan nagar

    ReplyDelete
  7. Fantastic work! This is the type of information that should follow collective approximately the web. Embarrassment captivating position Google for not positioning this transmit higher! Enlarge taking place greater than and visit my web situate
    python training in tambaram | python training in annanagar | python training in jayanagar

    ReplyDelete
  8. Greetings. I know this is somewhat off-topic, but I was wondering if you knew where I could get a captcha plugin for my comment form? I’m using the same blog platform like yours, and I’m having difficulty finding one? Thanks a lot.
    AWS Interview Questions And Answers
    AWS Tutorial |Learn Amazon Web Services Tutorials |AWS Tutorial For Beginners
    AWS Online Training | Online AWS Certification Course - Gangboard
    AWS Training in Toronto| Amazon Web Services Training in Toronto, Canada

    ReplyDelete
  9. It's Really A Great Post. Looking For Some More Stuff.



    shriram break free

    ReplyDelete
  10. It's Really A Great Post. Looking For Some More Stuff.
    I really enjoyed your blog Thanks for sharing such an informative post.Looking For Some More Stuff.

    shuttering works

    ReplyDelete
  11. Great Post. The information provided is of great use as I got to learn new things. Keep Blogging.best oracle training in bangalore

    ReplyDelete
  12. This is really a very good article about Java.Thanks for taking the time to discuss with us , I feel happy about learning this topic. Keep sharing your information regularly for my future reference.
    Data Science Training In Chennai

    Data Science Online Training In Chennai

    Data Science Training In Bangalore

    Data Science Training In Hyderabad

    Data Science Training In Coimbatore

    Data Science Training

    Data Science Online Training

    ReplyDelete
  13. I appreciate this piece of useful information. Kshemkari is one of the best leading institute for export and import training in Pune, Mumbai and more location.leading Trade and Training Institute for import and export business, provides the best service in India with expert Team For more information visit our site: Export Import Online Course

    ReplyDelete
  14. Awesome links, it has helped me a lot. Thanks for sharing.
    pega Training in Bangalore

    ReplyDelete
  15. I never thought that I will be qualify for a loan that Officer Pedro and his loan company granted me which was very smooth and transparent in every conversation that we make through the loan process, I will once again thank him and his loan organization for a job well done by offering me a loan of 22 million Euro with the low rate of 2% annual return they are genuine and loan register company with simple terms and conditions.
    Contact the loan company through pedroloanss@gmail.com

    ReplyDelete
  16. Great blog!!! The information was more useful for us... Thanks for sharing with us...
    Why Python for Data Science
    Data Science using Python

    ReplyDelete
  17. This post is so usefull and informative.keep updating with more information...
    Online-Marketing
    Digital Marketing Services

    ReplyDelete
  18. This post is so helpfull and interavtive.Keep updating with more informaion...
    Cyber And Network Security
    This post is so helpfull and interavtive.Keep updating with more informaion...
    Information About Cyber Security

    ReplyDelete
  19. This comment has been removed by the author.

    ReplyDelete