oTree and Heroku server: Maximum number of participants

683 views
Skip to first unread message

Jan

unread,
Oct 4, 2021, 5:23:54 AM10/4/21
to oTree help & discussion

Dear Chris, dear all,

I need to get an understanding, how many participants my server can handle simultaneously.

I am using Heroku and during the study I will use the highest (most "powerful") settings which are possible through oTree-Hub. (i.e. Redis-plan = premium 1; Dyno size = Standard-2X).

 

My study takes 5 minutes on average; the participants do not interact with each other; there are 11 oTree pages (i.e. participants click next 11 times).

I am not sure which information is relevant, so let me if other info is required.

 

How many participants will the server definitely handle at the same time? I don’t want to risk server errors like time-outs.

 

Very rough estimates would already be helpful!

 

 

Thank you very much in advance and best
Jan

Chris @ oTree

unread,
Oct 4, 2021, 5:25:53 AM10/4/21
to Jan, oTree help & discussion
Everything I can tell you about server performance is here: https://otree.readthedocs.io/en/latest/server/heroku.html#server-performance

In particular, oTree Hub’s performance analysis can be very helpful. 

Sent from my phone

On Oct 4, 2021, at 2:23 AM, Jan <janbie...@gmail.com> wrote:


--
You received this message because you are subscribed to the Google Groups "oTree help & discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otree+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/otree/4aa8b772-3759-492a-8406-ec3aff3f4a0an%40googlegroups.com.

Jan

unread,
Oct 4, 2021, 5:33:21 AM10/4/21
to oTree help & discussion

Thanks a lot Chris! And yes, I understand that this is a complex topic :).

Maybe other users have experinece?  Will my limit be more like 100 or 300 or 1000 participants?

Linfeng Li

unread,
Oct 7, 2021, 12:04:32 PM10/7/21
to oTree help & discussion
Hi Jan,

I have no problem inviting 3000+ subjects to participate in one session. I used the _room folder to enumerate through all the subjects, and hosted a session where each subject has a unique link.

Note, in my case, there may be at most 30/40 people actively participating at one time.

I was hosting the app on Heroku with two dynos paid at the highest possible level, and two databases on the rather pricy side. The cost for a month is more than $100 dollars.

If there is a valid concern for the performance on oTree-Hub, then, @Jan, I suppose you can host your app on Heroku instead?

All the best,

-Linfeng
Reply all
Reply to author
Forward
0 new messages