php - How to get response from server every second in JSON? -


i want response server every 1 second, output contain value need process in front end.

in backend using queries read data mysql , return me output.

things have tried:

  1. ajax
  2. webserver events
  3. amazon cloudfront

none of these work me. takes 3-4 seconds me response,

classic example see working (getting output in 1 sec)

http://madbid.com

please let me know if has solution this


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -