Performance FAQ: Difference between revisions

From MoodleDocs
No edit summary
Line 1: Line 1:
{{stub}}
{{stub}}


==FAQ==
===How do you define "concurrent users"?===
===How do you define "concurrent users"?===
As has been repeatedly stressed in the forum [0], the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something [1]. It may by processing a webpage written in PHP, processing a database querry or simply transfering a file.
As has been repeatedly stressed in the forum [0], the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something [1]. It may by processing a webpage written in PHP, processing a database querry or simply transfering a file.
Line 33: Line 32:


===What hardware is needed for N users?===
===What hardware is needed for N users?===
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]


===How many users will my installation support?===
===How many users will my installation support?===
Line 44: Line 44:
===What hosting provider do you recommend?===
===What hosting provider do you recommend?===


==See also==
* [http://moodle.org/mod/forum/discuss.php?d=57028 Performance perspectives - a little script]
* [http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]


[[Category:Performance]]
[[Category:Performance]]
[[Category:FAQ]]
[[Category:FAQ]]

Revision as of 07:59, 7 October 2009


How do you define "concurrent users"?

As has been repeatedly stressed in the forum [0], the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something [1]. It may by processing a webpage written in PHP, processing a database querry or simply transfering a file.


[0] Using Moodle Hardware and Performance forum

[1] http://en.wikipedia.org/wiki/Concurrency_(computer_science)

How do I benchmark a Moodle-site?

You can ofcourse benchmark each component of the software stack, staring from the operating system upto the database. But there is no easy formula to deduct the maximum number of concurrent users from those data.

There is a PHP-script [2] circulating amoung the community which gives you a ballpark figure. Take the current version from 1. March 2007 posted here [3]. Please note running this script on a production server may have side-effects, you are strongly adviced to run it on a test-site.

[2] http://moodle.org/mod/forum/discuss.php?d=57028

[3] http://moodle.org/mod/forum/discuss.php?d=57028#p296907

What are PHP-accelerators?

For the definition see Wikipedia [4]. Read the Performance documentation [5] for possible software.

[4] http://en.wikipedia.org/wiki/PHP_accelerator

[5] https://docs.moodle.org/en/Performance#PHP_performance

How do I cluster Moodle?

How do I replicate Moodle?

My site so slow, what should I do?

What hardware is needed for N users?

A moodle setup for 10K simultaneous users

How many users will my installation support?

Which operating system is the best?

What is the best webserver?

Should I go for 64 bit or is 32 bit OK?

What hosting provider do you recommend?