Question

2
Replies
204
Views
DavidE79 Member since 2014 2 posts
M2C
Posted: 4 years ago
Last activity: 4 years 8 months ago
Closed

Tune up Environment/Strategies after restart

Hello,

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?

Regards,

David

System Administration Decision Management
Moderation Team has archived post
Share this page LinkedIn