Link to home
Start Free TrialLog in
Avatar of Soli .
Soli .

asked on

Performance testing environment

How do you begin with setting a Load environment for an Enterprise application (traditional MVC application with connectivity to some dependent enterprise systems)? For example, it would be ideal to have similar amount of Servers with same configuration as Production environment, also the Database should have similar size and capacity as Production to make Load environment similar to Production.

This does not happen in many organization, and I have seen organization using a trimmed down version of Production infra for the Load testing. Does that seems to be correct approach? Can we run a load test on the trimmed down version of Prod infra? Will this approach produce the result that can be used to predict Production application performance?
Avatar of Sam Jacobs
Sam Jacobs
Flag of United States of America image

That would depend on whether your application and back-end infrastructure (e.g. database server) has been designed to scale as users are added.
There are various products (e.g. LoginVSI - https://www.loginvsi.com/) that have products that test how your application and environment responds as users are added. Does is scale linearly or not.
You asked, "How do you begin with setting a Load environment for an Enterprise application"...

Simple solution is to use common machines across an infrastructure, so any machine can duplicate any other machine.

I do this using LXD, so each Site or Application or API runs in an LXD container.

The container can then be cloned at any time for any activity - load testing, code modification, performance analysis.

Then the cloned container can just be destroyed.

With LXD the cloning process can target any machine setup to be discovered by LXD, so you can easily clone containers on the same machine or to any other machine.

Note: When I do load testing I never trim down or use dummy data. I clone the LXD container, then run testing with actual data.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.