David Encinas (DavidE79)

DavidE79 Member since 2014 2 posts
Posted: December 17, 2015
Last activity: January 5, 2016
Posted: 17 Dec 2015 5:59 EST
Last activity: 5 Jan 2016 10:44 EST

Tune up Environment/Strategies after restart


in our project, we have deployed NBA application which executes strategies to get best offers for Customers.

Now, we have observed that when nodes are working continuously (without breaks) for a few days, response time becomes poor. For instance, Prod nodes were restarted two days ago; after restarting nodes, average response time was 0.6 seconds, now average response time are more than 2 seconds. To measure response time, we take the time since first step of main activity (called from HTTP request by end users) is executed until last step is done (before http response is sent).

In order to keep good response time (less than 1 second), we are planning to restart Prod nodes every day at users-free window, Pega Cloud will be in charge of this action; but we have one issue and we need your help to perform daily restart:

After every restart, when main activity is called for the first time, response time is very high (around 90 seconds), and in case of Prod environment (4 nodes working behind Load Balancer), it happens every node receives the first request.

As we need to avoid that end users experience high response times of the first request, we have thought one approach to a solution (not started), but we have several doubts about their usefulness:

- Create an activity to tune up environment by calling our main activity (Can we schedule activities after restart nodes? Will be this approach useful to tune up all nodes?)

Based on your experience, could please advice us to achieve our need?



System Administration Decision Management
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.