International Journal of Science and Research (IJSR)

International Journal of Science and Research (IJSR)
Call for Papers | Fully Refereed | Open Access | Double Blind Peer Reviewed

ISSN: 2319-7064


Downloads: 2 | Views: 80 | Weekly Hits: ⮙1 | Monthly Hits: ⮙1

Research Paper | Computer Science and Information Technology | Zimbabwe | Volume 12 Issue 12, December 2023 | Rating: 5.2 / 10


Integrating Web Sockets in OTrees to Improve Optimization in Experiments

Primrose Washinyira | Shepard Chifamba


Abstract: A Python - based framework called OTree is used to design and carry out economic experiments. A higher margin of delay was observed when OTrees were utilized alone without web sockets (Chen et al., 2016a) . Because of this, OTrees were ineffective, par-ticularly when conducting studies that called for real - time communication. Latency was shown to be an issue for OTrees with web sockets; however, this gap is closed if web sockets are included (Crede et al., 2019a) . One kind of communication protocol that enables full - duplex communication between a client and a server is web sockets. Researchers and experimenters would be able to design more dynamic and interactive experiments that call for real - time updates or feedback by adding web sockets into Otree. The use of embedded web sockets on trees to reduce latency by allowing real - time communication between the client and server is demonstrated in this article. More opportunities for doing online experiments and playing games in the classroom would arise from the incorporation of OTrees. Real - time data collection from participants is possible for experimenters. This program is ready to use and especially valuable for educational and research applications. Web socket integration would allow real - time communication between the server and clients, which would improve Otree's usefulness as a platform for behavioral research. This would make it possible to conduct more dynamic and engaging studies that record participants' actions in real time, producing more reliable and perceptive study results.


Keywords: Otrees, SignalR, Web sockets


Edition: Volume 12 Issue 12, December 2023,


Pages: 330 - 332


How to Download this Article?

Type Your Valid Email Address below to Receive the Article PDF Link


Verification Code will appear in 2 Seconds ... Wait

Top