3
Because there are several requests to php+myql, little interval (millisecond thing), multiplied by several users online at the same time, this is not feasible, in the sense of computational resources?
These XHR’s would all give "neck" on the server, or it’s quiet?
If so, what alternative do I have? Sockets? (I don’t understand that)
It all depends on the number of accesses and how much resource is available. From personal experience, not only does it "choke" as it tends to. Inclusive here I talked about my problem. But each case is a case, the difference is that with SSE (Server-Sent Events) or Websockets you keep only one connection and only "send data" when you actually have something new. If you don’t want to use SSE or Websockets you have Ajax Long Polling, which reduces the number of requests. But, using Ajax Polling is not on.
– Inkeliz
Please, if you can get some content or post tutorial here tbm... I am researching on the subject and having difficulties to understand what to look for or where to look about the related content.
– Max Rogério