I having an external System whitch is writing datas in a Table of my Sql-Server.
This datas should shown realtime (max. delay not more then 1. sec) in the Browser of a connected Client.
I was thinking to use Ajax to do this. So like creating a JS timer whitch runs every second and sending a ajax request to the Server to get the datas of the table. But I thing thats not the best and above all not the performance optimiced way to do this.
Structure:
There are some better possibilities to do this? I think the best way is when the Apache-Webserver noted that there was a change in the table and than push the data to the conneted client!
Greetings