web guru and all who interested,
I've built simple web application where users can post, comment, favourite articles and right know I've the idea to create a users notification system. At the beginning really simple: notify if user's post was favourited or commented. And I wonder what are the best practices and strategies for making it and of course the easiest way? I've read about web sockets technology, but not sure is this that I need for such simple functionality. Another idea is to make AJAX call let's say every 60s, taking user's ID and search if there's any new records in DB containing that ID. But I'm quite doubtful about efficiency of frequent calls to my server.
I believe you've got the idea and will advise me. Thanks in advance!