Answer the question
In order to leave comments, you need to log in
How to update a user's records when another user adds a new record?
An example is entries, comments and messages on VK. If another user sends you a message, a new message is displayed in your private messages. You don't need to refresh the message page. The same goes for posts and comments.
How to implement something like this? I think that database queries every n-seconds is not an efficient solution. What are the other options?
Answer the question
In order to leave comments, you need to log in
I think that database queries every n-seconds is not an efficient solution.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question