Close

Performance under load.

untiedshoes
3 years ago
#21592 Quote
Avatar
  • 14
Hi Boyko,

You may know me from the forum, and of course, GitHub, as we've had issues with one of our clients, and performance under high loads.

We're currently running, a 4.40.3 site, but with various bits (AutoFac for instance), rolled back to 4.40.1. Autofac caused performance of 4.40.3 to plummet!

We're having some rather large performance issues (still!!) under high concurrent loads, and I've spent hours and hours on this issue over the years.

Anyway, yesterday and today, I decided to start looking at plugins, and it seems that we have an issue with the Anywhere Sliders under load.

Below are some load tests (not sure if these tables will render?).


Nop Anywhere Sliders Enabled:
(150 clients per second, 1 minute)

<table role="table">
<thead>
<tr>
<th>avg(ms)</th>
<th>min(ms)</th>
<th>max(ms)</th>
<th>success</th>
<th>timeout</th>
</tr>
</thead>
<tbody>
<tr>
<td>9556</td>
<td>144</td>
<td>30226</td>
<td>748</td>
<td>299</td>
</tr>
<tr>
<td>3036</td>
<td>151</td>
<td>14358</td>
<td>4661</td>
<td>0</td>
</tr>
<tr>
<td>6528</td>
<td>156</td>
<td>30214</td>
<td>2209</td>
<td>0</td>
</tr>
<tr>
<td>4650</td>
<td>155</td>
<td>27620</td>
<td>3333</td>
<td>0</td>
</tr>
</tbody>
</table>

Nop Anywhere Sliders Disabled:
(150 clients per second, 1 minute)
<table role="table">
<thead>
<tr>
<th>avg(ms)</th>
<th>min(ms)</th>
<th>max(ms)</th>
<th>success</th>
<th>timeout</th>
</tr>
</thead>
<tbody>
<tr>
<td>152</td>
<td>103</td>
<td>1095</td>
<td>8977</td>
<td>0</td>
</tr>
<tr>
<td>151</td>
<td>104</td>
<td>1084</td>
<td>8993</td>
<td>0</td>
</tr>
<tr>
<td>161</td>
<td>105</td>
<td>994</td>
<td>8843</td>
<td>0</td>
</tr>
<tr>
<td>164</td>
<td>106</td>
<td>1103</td>
<td>8999</td>
<td>0</td>
</tr>
</tbody>
</table>

Nop Anywhere Sliders Enabled:
(100 clients per second, 1 minute)
<table role="table">
<thead>
<tr>
<th>avg(ms)</th>
<th>min(ms)</th>
<th>max(ms)</th>
<th>success</th>
<th>timeout</th>
</tr>
</thead>
<tbody>
<tr>
<td>160</td>
<td>112</td>
<td>1011</td>
<td>6000</td>
<td>0</td>
</tr>
<tr>
<td>156</td>
<td>115</td>
<td>796</td>
<td>5887</td>
<td>0</td>
</tr>
<tr>
<td>159</td>
<td>113</td>
<td>817</td>
<td>5995</td>
<td>0</td>
</tr>
<tr>
<td>160</td>
<td>113</td>
<td>1129</td>
<td>5919</td>
<td>0</td>
</tr>
</tbody>
</table>

Nop Anywhere Sliders Disabled:
(100 clients per second, 1 minute)
<table role="table">
<thead>
<tr>
<th>avg(ms)</th>
<th>min(ms)</th>
<th>max(ms)</th>
<th>success</th>
<th>timeout</th>
</tr>
</thead>
<tbody>
<tr>
<td>131</td>
<td>104</td>
<td>607</td>
<td>6000</td>
<td>0</td>
</tr>
<tr>
<td>156</td>
<td>115</td>
<td>796</td>
<td>5887</td>
<td>0</td>
</tr>
<tr>
<td>136</td>
<td>104</td>
<td>818</td>
<td>5998</td>
<td>0</td>
</tr>
<tr>
<td>134</td>
<td>104</td>
<td>1381</td>
<td>5919</td>
<td>0</td>
</tr>
</tbody>
</table>

Nop Anywhere Sliders Enabled:
(0 - 500 (maintain client load), 1 minute)
<thead>
<tr>
<th>avg(ms)</th>
<th>min(ms)</th>
<th>max(ms)</th>
<th>success</th>
<th>timeout</th>
</tr>
</thead>
<tbody>
<tr>
<td>1582</td>
<td>101</td>
<td>15385</td>
<td>8179</td>
<td>0</td>
</tr>
<tr>
<td>1591</td>
<td>101</td>
<td>14519</td>
<td>8495</td>
<td>0</td>
</tr>
<tr>
<td>1628</td>
<td>102</td>
<td>30218</td>
<td>8446</td>
<td>1</td>
</tr>
<tr>
<td>1581</td>
<td>101</td>
<td>17597</td>
<td>8332</td>
<td>0</td>
</tr>
</tbody>
</table>

Nop Anywhere Sliders Disabled:
(0 - 500 (maintain client load), 1 minute)
<table role="table">
<thead>
<tr>
<th>avg(ms)</th>
<th>min(ms)</th>
<th>max(ms)</th>
<th>success</th>
<th>timeout</th>
</tr>
</thead>
<tbody>
<tr>
<td>1524</td>
<td>102</td>
<td>9204</td>
<td>9059</td>
<td>0</td>
</tr>
<tr>
<td>1587</td>
<td>99</td>
<td>9888</td>
<td>8865</td>
<td>0</td>
</tr>
<tr>
<td>1
untiedshoes
3 years ago
#21593 Quote
Avatar
  • 14
Not sure why, but a lot of this has been cut off??
untiedshoes
3 years ago
#21594 Quote
Avatar
  • 14
Also, I can't create a ticket, as the license isn't in my name.
untiedshoes
3 years ago
#21595 Quote
Avatar
  • 14
Here's a couple of graphs that didn't get added?

Nop Anywhere Sliders Enabled:
(150 clients per second, 1 minute)


Nop Anywhere Sliders Disabled:
(150 clients per second, 1 minute)

Boyko
3 years ago
#21596 Quote
Avatar
  • 1570
Hi,

We will need a little bit of context here.

Are your tests hitting a single page where there are some Sliders?
How many Sliders do you have on that page and with how many images?
Do you use Conditions or not?

If you could get your clients login credentials and submit a ticket on his behalf will speed up the whole process of investigation (let's start with this optimization first :)))
Regards,
Nop-Templates.com Team
untiedshoes
3 years ago
#21598 Quote
Avatar
  • 14
Hi Boyko, and thanks for the reply :)

After more testing this morning, I completely uninstalled the plugin, ran some more tests, then re-installed it.

Performance is much much better than it was now for some reason? Still a reduction in performance, but much better than it was!

By the way, single slide, homepage only - Empty page, with just 6 products. The slide is a simple slide, with desktop and mobile images, no conditions, and using homepage_top, limited to store1 (two stores being used on the dev).

Test graphs below (150 clients per second, 1 minute).

Empty homepage:


Empty homepage with single slide:


The same test yesterday, prior to uninstalling and reinstalling?!


Just to note, this is an upgrade from 4.30, not a clean install. The plugins will have been migrated (upgraded) when the store got upgraded to 4.40 - obviously, uploaded all the new 4.40 plugins :)

I've got the clients login details, so I'll do some more tests, and create a ticket if required :)

Thanks,
Craig