Hello,
My questions is about how many users can be on the site taking a quiz at once. Our final exam is ~200 questions and we anticipate having a high number of users writing quizzes at once. We have the server capacity, but have had bad experience with Wordpress themes running slowly under heavy use. In the event of a timeout, what happens to the partially completed quiz?
Thanks
Colin
There are multiple things which go on when a user takes the quiz :
a. For dynamic quizzes, the question set is picked up from a pool of questions and copied to user meta.
b. For static quizzes the question set is copied from quiz meta to user meta.
a or b happen at Quiz view for stand alone quizzes or at start quiz for in course quizzes.
c. For in course quiz, X number of questions are fetched simultaneously.
d. For stand alone quizzes, one question is fetched at a time.
e. All the answers are stored in the browsers local storage.
d. When user clicks on submit quiz, the browser local storage submits the answers and one single query runs to save answers. Since number of questions in your quiz is 200, a very big query will run and add 200 comments in the comments table.
So the resource consumption would depend upon a lot of factors.
It would be better if you perform tests on how many questions would be sufficient for how many students for your server resources at a time before going ahead for the final exam .
You can also break your quiz into parts(like final exam part-1 quiz and final exam part 2 quiz ) .