#1
by
befuddled
Hello I'm planning to deploy otree via Heroku to conduct a large scale survey. What is the best configuration to do that? More specifically, I'd like to be able to post *one* link to my survey in a popular online forum, which survey takers would then click on to be redirected to the Heroku app. How should I set up Heroku / otree? Should I create a single session or a room(?), with say 10,000 participants, and then just post the link to that session (or room) in the forum? How many participants (concurrent / total) can otree handle? Are there better ways to achieve this? One constraint is that it's hard to anticipate the total number of survey takers, but it might be a few thousand and I don't want anyone clicking on the link I post to be turned away. Thanks for any help!
#2
by
Chris_oTree
I recommend to create a session in a room, and post the room-wide link. See the notes on performance here: https://otree.readthedocs.io/en/latest/server/heroku.html#server-performance
#3
by
befuddled
Thank you for your quick response, Chris! One more question, is there a benefit to running more than one dyno (i.e., turning "runprodserver2of2" in the attached screenshot)? Thanks again!
#4
by
Chris_oTree
No need. Just use the recommended configuration in oTree Hub's 'configure' tab.