Performance: improve lookup when picking variant
At the moment, it uses existing functions to find submissions already created for a student when picking an assignment in a Variants Collection. For
n
variants, this results inn
checks (=n
sqls) to find out whether there exists a submission for any of the variants for a student. This does not scale for largern
.While this only happens once per student for a variants collection (the picked variant gets cached), it may become a problem when 500 students concurrently view a variant collection with larger
Submitted by Elmer van Chastelet on 1 October 2020 at 10:19n
for the first time.
Issue Log
On 11 November 2020 at 15:51 Elmer van Chastelet removed tag 0.48.44
On 11 November 2020 at 15:51 Elmer van Chastelet tagged 0.48.48
On 11 January 2021 at 09:30 Elmer van Chastelet removed tag 0.48.48
On 11 January 2021 at 09:30 Elmer van Chastelet tagged 1.30.0
On 4 July 2023 at 13:20 Elmer van Chastelet removed tag 1.30.0
On 4 July 2023 at 13:20 Elmer van Chastelet tagged 1.44.1
On 9 December 2024 at 14:55 Elmer van Chastelet removed tag 1.44.1
On 9 December 2024 at 14:55 Elmer van Chastelet tagged 1.46.0
Log in to post comments