HTTP Polling vs SSE vs WebSocket vs WebHooks

  Рет қаралды 16,475

ByteVigor

ByteVigor

Күн бұрын

Пікірлер: 31
@agarcilazomx
@agarcilazomx 4 ай бұрын
Thanks a lot! Really helpful info
@bytevigor
@bytevigor 4 ай бұрын
Thank you!
@srishtianand8519
@srishtianand8519 3 ай бұрын
thank u it was insightful
@D_bugit
@D_bugit 4 ай бұрын
Very informative 😊😊
@bytevigor
@bytevigor 4 ай бұрын
Thank you for the feedback!
@rustyshackleford2085
@rustyshackleford2085 4 ай бұрын
I really like.the style of your videos.
@bytevigor
@bytevigor 4 ай бұрын
Thank you for the feedback!
@uszebr
@uszebr 3 ай бұрын
Very helpful. Missing grpc
@bytevigor
@bytevigor 3 ай бұрын
I plan to make a dedicated video on gRPC in the future.
@staystealth
@staystealth 4 ай бұрын
please dont do background music
@whazapbaz
@whazapbaz 4 ай бұрын
No I think it's fine music don't listen to him
@centerfield6339
@centerfield6339 2 ай бұрын
Sse and wss also need to maintain a list of stuff to send that hasn't already been sent to a client. Short polling doesn't need that.
@kellymoses8566
@kellymoses8566 4 ай бұрын
AWS SQS uses long polling
@bytevigor
@bytevigor 4 ай бұрын
Good to know.
@von-fur-wegen-gegenolli9196
@von-fur-wegen-gegenolli9196 4 ай бұрын
If you use long polling on a server like Apache Web Server with PHP support, you may run out of threads as the number of users increase!
@bytevigor
@bytevigor 4 ай бұрын
Agree.
@MrJloa
@MrJloa 21 күн бұрын
Read only -- use SSE. Need duplex -- use sockets. Why would u need polling? Cant find a single reason to use polling
@bytevigor
@bytevigor 20 күн бұрын
Great question! While SSE, WebSockets are more efficient for many use cases, there are still scenarios where polling can be a valid or even necessary choice: 1. Simplicity: Polling is easier to implement and debug, especially for small-scale applications or quick prototypes where advanced bidirectional communication isn’t required. 2. Limited Server Capabilities: Not all servers support persistent connections like WebSockets or SSE. Polling works on virtually any HTTP infrastructure. 3. Firewall/Proxy Restrictions: In environments with restrictive firewalls or proxies that block WebSockets or SSE, polling can still be a reliable fallback. 4. Low-Frequency Updates: If the frequency of updates is low (e.g., every 30 minutes or more), polling is often sufficient and avoids the overhead of maintaining persistent connections. 5. Legacy Systems: Polling can be the only option when working with legacy systems that don’t support more modern protocols. While polling isn’t as efficient as the other methods, it’s not obsolete-it’s just another tool in the toolbox for specific use cases. 😊
@eaoliver
@eaoliver 4 ай бұрын
Cute style. Very 90s-ish
@bytevigor
@bytevigor 4 ай бұрын
Thank you for the feedback!
@jazzochannel
@jazzochannel 4 ай бұрын
1:19 either i'm very hung over or that was a word salad instead of an intro with more dressing than veggies. let me hear that again... ok up to 0:14, falling off by 0:38, and pointless after 0:51. wow. makes you think... a good intro or first impression really does matter. This content seems to be written by someone from eastern europe and read by someone from the us who's not really all that tech-savvy, but good at reading. While the graphics are done by someone in asia. Welcome to youtube and best of luck to you!
@bytevigor
@bytevigor 4 ай бұрын
I am a Chinese software architect, and I created the original content in Chinese. I translated it into English with the help of ChatGPT for the script and ElevenLabs for the voiceover. I’m trying this approach on KZbin to see if it works. Thank you for your feedback!
@TheWalrus_45
@TheWalrus_45 4 ай бұрын
Thought you were real until the ai said retree instead of retry
@Innesb
@Innesb 4 ай бұрын
I immediately realised this was an AI voice, but it’s one of the better ones I have heard. The clue is in the intonation (evident in the first few seconds of this video), which is a little off. Having said that, this voice is bearable; there are many videos that I stop immediately and block the channel. I do understand that AI voice is incredibly useful in a number of scenarios such as people who want to present videos in a language other than their own, people who have speech impediments and lack the confidence to speak publicly, or who have no voice, and people who have strong regional accents that are difficult to understand. Of course, AI voice is also useful for small scale production allowing rapid production of videos without requiring hours of voice editing.
@bytevigor
@bytevigor 4 ай бұрын
Thank you for the feedback 🙏. I am a Chinese native, and my spoken English is not very strong. I first created the Chinese version of this video (most of the content, including the script and animation, was done manually), then used ChatGPT to translate the script into English. After that, I used ElevenLabs.io to convert the English text into speech, and finally, I edited the video using CapCut. That’s how this English version was created. For non-native English speakers, AI technology can help them produce English videos, opening up new possibilities.
@TheWalrus_45
@TheWalrus_45 4 ай бұрын
@@bytevigor that's cool, as long as the whole script wasn't ai
@carlosdeucher131
@carlosdeucher131 4 ай бұрын
I bet this video is made with IA
@bytevigor
@bytevigor 4 ай бұрын
Most of the content (including the script and animations) was done manually, with the help of ChatGPT for English translation, and the English voice was generated using ElevenLabs.io.
@sixbutton9
@sixbutton9 4 ай бұрын
Say no to AI generated content.
@bytevigor
@bytevigor 4 ай бұрын
@@sixbutton9 This content is created manually with AI assistance:)
Learn SOLID Design Principles Visually
15:33
ByteVigor
Рет қаралды 566
Server-Sent Events Crash Course
29:48
Hussein Nasser
Рет қаралды 100 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Event-Driven Architecture (EDA) vs Request/Response (RR)
12:00
Confluent
Рет қаралды 181 М.
Dioxus vs Leptos  | Rust GUI Wars #2
21:18
Creative Coders
Рет қаралды 13 М.
HTTP 1 Vs HTTP 2 Vs HTTP 3!
7:37
ByteByteGo
Рет қаралды 359 М.
Proxy vs Reverse Proxy vs Load Balancer | Simply Explained
13:19
TechWorld with Nana
Рет қаралды 269 М.
When to Use Kafka or RabbitMQ | System Design
8:16
Interview Pen
Рет қаралды 160 М.
What is WebSocket? Why is it used & how is it different from HTTP?
33:23
SSE vs WebSockets vs Long Polling. Martin Chaov. JS Fest 2018
57:49
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН