4 ms·
Only two realistic options --- polling or web sockets. If you want instantaneous, real time, back and forth, chat type interaction, I'd say web sockets are the
by jqpabc123 5y ago
Only two realistic options --- polling or web sockets.
If you want instantaneous, real time, back and forth, chat type interaction, I'd say web sockets are the only real option. This implies that users will be active at the same time.
If you are ok with non-real time time, email like interaction, polling is probably better. This implies that users may not be active at the same time.
I'm assuming you are looking at a web app here.