Menu
  • HOME
  • TAGS

Real Time Background Service

javascript,angularjs,laravel,ionic-framework,realtime-api

setInterval isn't a best practice to receive new data from your API server/DB because the server could get flooded when too many users access your web site. However there is a prettier solution: WebSockets. With websockets you receive notifications realtime. I am not a PHP developer so I don't know...