How do websites/apps know that you got a new Notification?
How does Gmail know that you got an email without you refreshing the page? Or how does Instagram know instantly that you got a follower request? Generally, there are two approaches: client pull or server push.
The Naive Way — Short Polling (Client Pu...
tachiboku.hashnode.dev4 min read