I have a system, in which it displays database files, in list form.
I query the database every 5 seconds to see if there are new files, and if it has it shown to the user, using AJAX.
Why this? To avoid updating the page at all times, to see if you have any new files.
I was advised not to do this because if you have 100 users online, every 5 seconds 100 queries are done on the server.
I've been told about push technology, and here's my question, how to implement this technology?