calculate performance

calculate performance

by Amir Mohammadi -
Number of replies: 1

Hello. We are trying to calculate the performance of our server numerically. because we should understand how much is our respond time and concurrent connection of database and web server.

I will describe the server structure to you:

1. our web server is lite speed

2. our database is mariadb

when i consulted with one expert he said you can use curl to call different services of data base and web server.

now my question is how can i find curl that call different services of moodle and its database and take process. we will make it in command and give to some thing like zabix and it will run it frequently and it will calculate time.

we need calculate this numerically for understand the performance for now. And comare this number  with that number we recive in the future (when we wanted to tune web server and optimize mariadb or change it to posgre sql)


Average of ratings: -
In reply to Amir Mohammadi

Re: calculate performance

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Hi

The first part of the enquiry sounds like a benchmark. There are all kinds of benchmarks. But they give the result, well in benchmark units. Not always in the units you would like to have, for example, number of concurrent Moodle users. (Doing what?)

That said, there was one test during the Moodle 1.x times, which gave the result in concurrent users: https://moodle.org/mod/forum/discuss.php?d=57028. Don't ask me the maths behind it. wink

There are ways of constructing your own load tests. See https://docs.moodle.org/dev/JMeter. Or for comparisons: Moodle Benchmark https://moodle.org/mod/forum/discuss.php?d=335357 or https://github.com/moodlehq/moodle-performance-comparison.

To get the background of the whole subject, pl. go through the https://docs.moodle.org/en/Performance documentation.