Hi everyone
I have an idea for something but not sure which method would work best to provide the desired result.
Let's say I have a database up and running, storing data for 2 users (php and mysql). What I want to achieve is: having 2 clients on the page with 2 different machines(different browser), have one user (do something), have the data stored in the database, then have user 2 see what has happened in as close to real time as possible.
Can this be done using JavaScript/Ajax to poll the database and update all browsers with a fast response time (100 ms updates?) is that too much strain for a hosted webserver?
If so, is this something achievable with php sockets?
Thanks!! Posted on my iPhone