phyphox Forums
remote acces - Printable Version

+- phyphox Forums (https://phyphox.org/forums)
+-- Forum: Discussion (https://phyphox.org/forums/forumdisplay.php?fid=1)
+--- Forum: General (https://phyphox.org/forums/forumdisplay.php?fid=3)
+--- Thread: remote acces (/showthread.php?tid=715)



remote acces - julien - 03-14-2020

Hello,

Is there a limitation to the number of devices that can use the ip address of a single smartphone with the remote access enable ? 
For example, is it possible for a teacher to share the ip address of his smartphone with the 30 smartphones of the students at the same time without problems ? (I use a router wifi with 150Mo/s only for this purpose)


Would it be possible to create a kind of remote acces excluding the "control panel" i.e the professor share the values and the graph but students can't play/stop/erase ?

Thank you !


RE: remote acces - Sebastian Staacks - 03-14-2020

Officially, we support one connection. This is mostly because we have implemented the remote access such that the server (phyphox) does not report back state changes (start/stop of the experiment) back to the client (web browser) if these were requested by the client. This means, that if there are two users connected, one of them will not necessarily notice if the other one pauses the experiment (although usually this just feels a bit laggy).

The real practical problem, however, is that the webserver is not multi-threaded. This means that phyphox cannot handle a second (or third) request by other clients while already answering the first one. On a fast device and network, this usually works for multiple users as each web browser patiently waits until phyphox eventually takes its request and if everything is fast enough, this works fine. But still, the number of failed request will quickly increase and at some point it will not qork properly anymore.

In practice, I would say that up to five connections work quite well. This of course depends on the experiment, the amount of data, the performance of the device running phyphox and the network. For this reason, we are also not considering a control panel at the moment.


RE: remote acces - julien - 03-14-2020

Thank you very much !