Doubt: Web Sockets and how to use

Asked

Viewed 68 times

2

I was seeing this question link.

Then I did not read in the answer about nodejs and researched about, but I did not understand much. How to apply this technology (nodejs)?
I am developing a site in php/jquery and in it I have an administrative panel with a menu that contains a badge, then I created an ajax function that runs every 3 seconds and if there is a change in the bank it notifies me in this badge. I read that it overloads the server.

That is the question:

How to make this notification more correctly?
If possible, some explanatory example where changing the database or identifying the user’s action on the site, update this notification of mine (badge) on the administrative panel.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.