Continuous Polling can be inefficient. I suggest you use websockets for this. When the user comes your website open up a socket connection with your Socket Server. When something changes in DB your Socket Server will notify all the connected clients about the change and clients can then react to the changes.
See : Socket.io