Hi,
I’m developing a .NET application with an auto refresh feature. Every table in my database has a MODIFIED_DATE column that gets updated after each update or insert. At the moment the auto refresh feature will apply to only one table, however it may change in the future. I’m currently considering the following possible solutions:
Client application runs a query on a timer e.g. every 10 sec and brings back all rows that have MODIFIED_DATE greater than last modified date stored in my application.
Keep a dedicated, open connection on each client computer that listens to firebird events and then runs a query once an event has been fired. The event will obviously by fired by the database after each update/insert using POST_EVENT command.
Develop a service that will sit on the server listening to the firebird database events and then use .NET remoting to notify client applications.
Could anyone advise me which of the above solutions is better in terms of performance and scalability?
I want the solution to have the minimum impact possible on the database workload.