This is why webhooks are important

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ย. 2024
  • also just a friendly shoutout to another content creator / indie hacker
    try out a new hair style on tryhairstyle.com/
    / mehulsharmamat
    / @mehulsharmamat
    📘 T3 Stack Tutorial: 1017897100294....
    🤖 SaaS I'm Building: www.icongenera...
    ▶️ Generate Chapters: ytchaptersgene...
    💬 Discord: / discord
    🔔 Newsletter: newsletter.web...
    📁 GitHub: github.com/web...
    📺 Twitch: / webdevcody
    🤖 Website: webdevcody.com
    🐦 Twitter: / webdevcody

ความคิดเห็น • 42

  • @codeguy11
    @codeguy11 9 หลายเดือนก่อน +26

    Instructions unclear: I'm now Captain Hook ☠️

  • @younesessaadani9303
    @younesessaadani9303 8 หลายเดือนก่อน +2

    What a great content you provide, you put us in real world scenarios thank you

  • @anubhaaav
    @anubhaaav 27 วันที่ผ่านมา +1

    The github example got me thru, Thanks for this!

  • @mehulsharmamat
    @mehulsharmamat 9 หลายเดือนก่อน +3

    Aye thanks so much! :D
    And yes webhooks are insane!

  • @licokr
    @licokr 7 หลายเดือนก่อน

    The easiet explanation on TH-cam, thank you very much!

  • @kaifahsan8459
    @kaifahsan8459 หลายเดือนก่อน

    Thanks for the amazing video!

  • @DonteSmall-s4m
    @DonteSmall-s4m หลายเดือนก่อน

    Great video!

  • @rolivasarhelyi
    @rolivasarhelyi 4 หลายเดือนก่อน

    Very insightful. Thank you

  • @medaillek
    @medaillek 9 หลายเดือนก่อน +17

    Hey, thanks for your videos. Could you show us how to integrate a notification system using either aws sns or websockets ?

  • @DunckingTest
    @DunckingTest 9 หลายเดือนก่อน +3

    Great video, We always see you use s3 buckets and talk about them can you make a tutorial explaining the pricing and the free tier, plus how to use it and how much it charges you

  • @EzDoesntExist
    @EzDoesntExist 7 หลายเดือนก่อน

    You are doing great job keep it up!

  • @tmanley1985
    @tmanley1985 9 หลายเดือนก่อน

    One weird thing about Server Side Events is that they can only contain text if I remember correctly. This is a great video though. I think what you excel at is showing the "flow" of how interconnected things fit together. Sometimes it's easy to get lost in the edges of a state machine especially a distributed one.

    • @tmanley1985
      @tmanley1985 9 หลายเดือนก่อน

      I'll tell you one thing that might be a good playlist or even a separate channel and that's the business side to operating a saas. That's something that holds a lot of people back from starting their own thing.

    • @ShivamSingh-y3z
      @ShivamSingh-y3z 8 หลายเดือนก่อน

      Hi, can you elaborate more on what you mean by text? Couldn’t the text encode the data that the frontend consumes to know what to do (like notify the user the generation has completed)?

  • @Lion-mh9rq
    @Lion-mh9rq 9 หลายเดือนก่อน

    thanks for the videos!

  • @gixxerblade
    @gixxerblade 9 หลายเดือนก่อน

    I did something similar with stripe when a payment was completed/failed. I used polling.

  • @SeibertSwirl
    @SeibertSwirl 9 หลายเดือนก่อน

    Love ya ❤

    • @WebDevCody
      @WebDevCody  9 หลายเดือนก่อน +1

      😘

  • @SogMosee
    @SogMosee 9 หลายเดือนก่อน

    excalidraw bezier curves for arrows are significantly better than eraser io, tldraw, icepanel and anything else out there
    excalidraw is free
    excalidraw can be included in webapps and obsidian
    excalidraw allows you to create your own shapes and save them to a library so I am missing out on nothing with the icons

    • @WebDevCody
      @WebDevCody  9 หลายเดือนก่อน

      ok... but I enjoy using eraser 🤣. I started using excalidraw and switch to this because it feels better to me

  • @yassinesafraoui
    @yassinesafraoui 9 หลายเดือนก่อน +1

    Concerning the problem you may run into if you use websockets instead of server side events, how doesn't server side events face the same issue? if you use server side events it's similarly possible for the webhook response to be issued to the wrong instance because of the load balancer which would cause the same issue, or is there a way to send a server side event from any instance such that it will always be sent to the right user?

    • @WebDevCody
      @WebDevCody  9 หลายเดือนก่อน +1

      I think it does face the same issue because your browser is connected to a stateful machine, so yes it would be the same issue. Sorry for not discussing that. There are ways to setup a sticky load balancer so your users will always connect to the same server, but still you'd have the issue of the webhook might send back the response to the incorrect server.
      Just using a websocket service would be the easiest approach IMO.

  • @benc9765
    @benc9765 9 หลายเดือนก่อน

    Hookdeck is worth exploring

  • @ilyaselaissi1628
    @ilyaselaissi1628 9 หลายเดือนก่อน +2

    I think using firebase could make things easier

    • @adityarawat4964
      @adityarawat4964 6 หลายเดือนก่อน

      But will not give you more control

  • @solo_driven
    @solo_driven 5 หลายเดือนก่อน

    Why to not use a webhook to notify the update the ui of the user? What is the difference between webhook and websocket ?

    • @WebDevCody
      @WebDevCody  5 หลายเดือนก่อน

      A webhook can invoke the ui. Webhooks can only hit a server

  • @cunningham.s_law
    @cunningham.s_law 9 หลายเดือนก่อน +2

    *server sent events

    • @WebDevCody
      @WebDevCody  9 หลายเดือนก่อน

      thank you

  • @rawallon
    @rawallon 9 หลายเดือนก่อน

    Hey, this is kinda offtopic from the video, sorry for that, but I was thinking of some ideas to try making a service that uses AI to generate both text and images, what services would you recommend to try it out?

    • @WebDevCody
      @WebDevCody  9 หลายเดือนก่อน

      text inside ai generated images is still pretty bad, so I can't give good recommendations. Dalle3 sometimes does text ok. You'd probably need to to wait until it improves or find a custom solution which figures out how to merge text and image seamlessly.

    • @rawallon
      @rawallon 9 หลายเดือนก่อน

      @@WebDevCody Sorry I didnt meant text inside image, but rather both services apart but with similar prompts

  • @joaquinbonifacino6964
    @joaquinbonifacino6964 9 หลายเดือนก่อน +1

    Why not use an observer instead of a Webhook?

    • @WebDevCody
      @WebDevCody  9 หลายเดือนก่อน +1

      not sure what that is. like the design pattern? because if you're deploying to a serverless environment, you are charged to keep that code running which defeats the purpose of serverless

    • @joaquinbonifacino6964
      @joaquinbonifacino6964 9 หลายเดือนก่อน

      Sorry iam pretty much a junior, yeah the design pattern, i used Observers for this exact problem, tried to understand what you mean with gpt xd, you meant becuase of the cost?@@WebDevCody

    • @smreason
      @smreason 9 หลายเดือนก่อน +1

      Another reason not to use lambdas where you pay to wait or else add a complex system. AWS really tricked the industry.

    • @majksu
      @majksu 9 หลายเดือนก่อน

      Doesnt observer require stateful app? Webhook is simple and fast. Given example - payment. You send client to the payment provider or whatever and then you let them process everything and let you know when it's done by webhook with all the informations. You may save it and send some other events based on the status of the payment etc

    • @joaquinbonifacino6964
      @joaquinbonifacino6964 9 หลายเดือนก่อน

      The thing is, i use an observer for the same thing (and its the porpuse that my computer science teacher gave it), i add it as a callback in my API calls in angular and it notifies me when the API returned the call, also you can use observer in stateless apps at least in my quick google search@@majksu

  • @joaomaia9140
    @joaomaia9140 8 หลายเดือนก่อน

    Any tutorials using nextjs?

    • @WebDevCody
      @WebDevCody  8 หลายเดือนก่อน

      Search my channel

    • @joaomaia9140
      @joaomaia9140 8 หลายเดือนก่อน

      th-cam.com/video/uyVz6LA3Eho/w-d-xo.htmlsi=8scPS6IE2ZWQBGfm this one?