I'm working on an API that sends messages contained in a SQL Server database. The problem is that I implemented it in a way that every 10 seconds the API performs a query for messages not yet sent. I would like to optimize this by making the SQL Server warn every time my table receives an insert, so that the application can query the messages to be sent. For that I'm using node JS and importing Sequelize. I also think it's important to comment that the inserts of this table are made by another application.