HTTP Long Polling, All You Need to Know About

HTTP Long Polling, All You Need to Know About

TL’DR: Long Polling is When a client requests something from the server, and the data is not present at the moment, then the server doesn’t reply immediately instead, The server keeps the connection open. Once the requested data is available (or configured max waiting time is over) Respond and close the connection. Now, let’s go about the subject a little deeper. ✋ Before Long Polling, Know About Polling Let me start with the requirement. Let’s say I am building a Live Soccer Score Website. Users can see the latest score. On the client side, I will keep asking for updates on the scores at regular intervals, let’s say every 30 seconds. This is what polling is. ...

September 24, 2023 Â· 6 min Â· Imran Shaikh
The 3 Stages of Microservice- Divide, Conquer, and Chaos

The 3 Stages of Microservice: Divide, Conquer, and Chaos

Hey, Tea Lovers! Today let’s talk about a hot topic in the market, Microservices. We will be discussing how microservices are very simple things and we were doing the basic requirement of it for quite a long time without realizing it. Then I will also share with you what I mean by Chaos in Microservices. Software Development’s First Step Towards a Solution is… If you have noticed, whatever problems we try to resolve in the software development process, the first thing we do (and must do) dividesthe problem into smaller ones. The smaller the problem gets, to an extent, the easier it is to solve or find a solution. Divide and Conquer is a very effective and must-do step in every type of industry’s problem. If you think about it, almost all things, complex or easy, are built one step at a time and not whole at once. ...

May 9, 2021 Â· 8 min Â· Imran Shaikh