There is a server on PHP, the client is at vue, DB on the muscle.
How to make alert the client about new events in the database? As it is made from the same contact?
A long table watching the network in chrome in developer mode and only noticed that every 25 seconds a request is sent to the server (in VC).
But if someone sends a message, it comes immediately.. And one more thing, if you look at the console in the same VC, then there is a record
(who looked already like no such). What does it mean? And hardly VK every second sends a request to the server. Well this is what sort of processing power should stand..
But back to the main how to make instant notification?
You really wonder what is :)