Skip to content

Commit

Permalink
Merge pull request #104 from Arquisoft/documentation
Browse files Browse the repository at this point in the history
Aded anex 1 with the load test and posible solutions
  • Loading branch information
UO277274 authored Apr 27, 2024
2 parents 874e915 + 471fd00 commit 186895a
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 0 deletions.
Binary file added docs/images/CreationOfQuestionsGraph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/RequestsAndErrors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/ResponsTimeNRequest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,8 @@ include::src/11_technical_risks.adoc[]
// 12. Glossary
include::src/12_glossary.adoc[]

<<<<
// 13. Anex I: LoadTest
include::src/13_load_test.adoc[]


15 changes: 15 additions & 0 deletions docs/src/13_load_test.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
ifndef::imagesdir[:imagesdir: ../images]

[[section-load_test]]
== Anex I: Load test

image::ResponsTimeNRequest.png[Response Time and Number of requests]
image::RequestsAndErrors.png[Requests and results]

When performing a the load test for the login and single player game with 1000 users conecting over a minute, we found that less than a 5% of the response end in a KO. This KO are due to the creation and start of the game.


image::CreationOfQuestionsGraph.png[Creating the game]

When we create the game we also create all the questions with wikidata query service.
To solve this problem we could look for more optimiced queries or change when the questions are created, once a day we could create a bunch of questions and sav e them in the database, with this approach, when creating a new game the questions would be selected from our local database.

0 comments on commit 186895a

Please sign in to comment.