问题
Reading that MySQL doesn't have similar to SqlDependency
.
What is the best snippet to notify other users if a cell changed?
Most of the current posts suggest pooling as recommended approach but can't find proper code to study for VB.NET Winform
without using third party service such Nub.
What I guess could work is to create a CRON
job at http server
to fetch if that cell(s) changed then store a flag
in a secure file; then rather than keep checking MySQL database on interval; watch that flag on server's file system and continue routine. Still this approach doesn't look the proper way.
来源:https://stackoverflow.com/questions/45435603/mysql-push-notification