Harshit hatwal retweetledi
Harshit hatwal
112 posts

Harshit hatwal
@HatwalHarshit
Likes to explore life. And learning new things.
Katılım Ocak 2020
80 Takip Edilen13 Takipçiler
Harshit hatwal retweetledi

IETLAA strongly opposes the proposal of merger of IET college LKO with AKTU. Please sign this petition to show support change.org/p/request-to-s…

English
Harshit hatwal retweetledi

We are requesting all alumni and students to unite to #saveIET
Two things are required:
- Please retweet and comment to spread awareness
- Please sign the change. org petition below
chng.it/fZ6kJThB6n

English
Harshit hatwal retweetledi

As a fresher the greatest skill you can have is being good at asynchronous programming.
It took me a while to understand it completely. When I started I thought yeah “async await” that’s all I need to know. But only after a while I realized that asynchronous programming is much more than that.
Firstly, asynchronous programming is about understanding the event loop, which is fundamental in languages like JavaScript.
The event loop handles all asynchronous callbacks in the program. Knowing how it works helps you avoid common pitfalls like blocking the main thread.
Secondly, mastering concurrency control is crucial. This involves understanding promises and their states (completed, rejected, pending), and how to handle these promises with methods like .then(), .catchError(), and .whenComplete() .
This becomes essential when dealing with multiple asynchronous operations that need to be coordinated or executed in a particular order.
Thirdly, error handling in asynchronous programming is different and often more complex. You need to be adept at catching and handling errors in promises and async functions.
Understanding try/catch blocks within async functions and handling rejected promises is key to building robust applications.
English
Harshit hatwal retweetledi

If you are a computer science student, you would know the difference between TCP and UDP! But do you know which protocol is used to transfer packets in a live stream platform? 🤔
(bookmark and retweet this to share it with your friends and as a goodwill gesture to me ❤️)
Before we go into that part, let us understand the difference between TCP and UDP!
TCP is reliable (no loss of packets, ordered, etc.), but transfers data slowly. On the other hand, UDP is fast and simple but not as reliable as TCP. That's it? That's the only difference? NO. But this is sufficient to understand the rest of the post. 🙄
On a live streaming platform, we want to watch Virat Kohli hit the century in real-time. It would be no fun if we learn about his 50th ODI century by the loud cheer in the neighborhood. 🤣
We want to receive packets fast, in a fairly reliable way! (There is always a tradeoff. In software engineering, you can't have both pieces of cake.)
RTMP stands for real-time messaging protocol. Live stream files are huge; what RTMP does is break the data into smaller chunks, send it over the network and assemble it on the viewer's system.
Before creating the chunks, the data needs to be encoded to preserve the bandwidth. This is one of the crucial factors which enables lower latency for RTMP. 💯
Now, RTMP is written over TCP which means there is a continuous connection and no data loss (take it with a pinch of salt in real world).
Now, there is another protocol - RTSP (real-time streaming protocol)! Can this be used for live streaming? Theoretically, yes. But it isn't widely used. 😓
RTSP has even lower latency compared to RTMP. This means that RTSP can be widely used for localised live streams and uses both TCP and UDP (TCP for issuing control commands like play, pause, record and UDP for delivery of packets). 🧠
So, one would find RTSP more widely used in usecase like CCTV camera and RTMP for streaming over the web. 😮
But RTMP isn't the only protocol used for live streaming on Disney+ Hotstar, ESPN, Netflix, Prime Video & Amazon Studios, and much more. I could write more about the entire process of data transfer but that would be spoonfeeding. 🤐
I keep sharing such small technical bytes to increase curiosity among people about systems we use in our daily life. 🤗
Keep following @AanshulSadaria for more such tech content. 😉 ✨
#technology #streaming #protocols #SoftwareEngineering

English
Harshit hatwal retweetledi

@LauryMeredith Looking for someone to learn and build things
English

🪐#ReactJS learners wanted 👀
🏗️ We're currently creating an X community of people building together (by small teams) little things that solve problems, with the purpose of learning.
Comment "interested" to get in :)
Repost appreciated 👷♂️

English
Harshit hatwal retweetledi
Harshit hatwal retweetledi
Harshit hatwal retweetledi

@suparnojit26 I am also looking for a team if any team has vacancy pls include me🙂
English










