oTree Forum >

Players waiting for other players before_next_page()

#1 by Marco


we do have an experiment where we need to calculate a 2-3 random numbers (with an external provider, one number can take up to 1 second) in the before_next_page(). We run this experiment with up to 50 participants, but the following can also be reproduced with less.

When players submit their pages at the same time, the players experience around 40seconds of waiting before the next page loads. From the logs it looks like the random numbers are not calculated in parallel but instead sequentially. Is it the case that the before_next_page function can only be sequentially executed for all players? Or should these be executed in parallel? 


Write a reply

Set forum username