HTTP Polling vs SSE vs WebSocket vs WebHooks

Поделиться
HTML-код
  • Опубликовано: 16 янв 2025

Комментарии • 31

  • @agarcilazomx
    @agarcilazomx 4 месяца назад +2

    Thanks a lot!
    Really helpful info

  • @srishtianand8519
    @srishtianand8519 3 месяца назад +1

    thank u it was insightful

  • @D_bugit
    @D_bugit 4 месяца назад

    Very informative 😊😊

    • @bytevigor
      @bytevigor  4 месяца назад

      Thank you for the feedback!

  • @rustyshackleford2085
    @rustyshackleford2085 4 месяца назад +1

    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 месяца назад +1

      I plan to make a dedicated video on gRPC in the future.

  • @staystealth
    @staystealth 4 месяца назад +15

    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 месяца назад +1

    AWS SQS uses long polling

  • @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!

  • @MrJloa
    @MrJloa 22 дня назад

    Read only -- use SSE.
    Need duplex -- use sockets.
    Why would u need polling? Cant find a single reason to use polling

    • @bytevigor
      @bytevigor  22 дня назад

      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. 😊

  • @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 RUclips to see if it works. Thank you for your feedback!

  • @eaoliver
    @eaoliver 4 месяца назад

    Cute style. Very 90s-ish

    • @bytevigor
      @bytevigor  4 месяца назад

      Thank you for the feedback!

  • @TheWalrus_45
    @TheWalrus_45 4 месяца назад +2

    Thought you were real until the ai said retree instead of retry

    • @Innesb
      @Innesb 4 месяца назад +1

      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 месяца назад +13

      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 месяца назад +1

    I bet this video is made with IA

    • @bytevigor
      @bytevigor  4 месяца назад +2

      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 месяца назад +1

      Say no to AI generated content.

    • @bytevigor
      @bytevigor  4 месяца назад

      @@sixbutton9 This content is created manually with AI assistance:)