简体   繁体   中英

How to test a web application for 100 users and measure the memory usage

I am building a Laravel CMS web application, and am wishing to know the memory usage per user, and simulate up to 250 users and measure the associated memory usage.

I have looked at web-stress tools, but they do not offer a memory usage output (that I can see).

Is there a way to measure the memory usage of a Laravel web application, and is there a way to simulate multiple users drawing on resources at once?

If you use Apache you can use the ApacheBench , have a tutorial here .

If you use NGIX you can use the Siege like this tutorial .

When you test your application you can see memory usage in you SO, in Linux you can use the HTOP for example.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM