Тёмный

This is why webhooks are important 

Web Dev Cody
Подписаться 219 тыс.
Просмотров 29 тыс.
50% 1

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.gumroad.com/l/j...
🤖 SaaS I'm Building: www.icongeneratorai.com/
▶️ Generate Chapters: ytchaptersgenerator.com/
💬 Discord: / discord
🔔 Newsletter: newsletter.webdevcody.com/
📁 GitHub: github.com/webdevcody
📺 Twitch: / webdevcody
🤖 Website: webdevcody.com
🐦 Twitter: / webdevcody

Опубликовано:

 

6 дек 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@codeguy11
@codeguy11 6 месяцев назад
Instructions unclear: I'm now Captain Hook ☠️
@younesessaadani9303
@younesessaadani9303 5 месяцев назад
What a great content you provide, you put us in real world scenarios thank you
@EzDoesntExist
@EzDoesntExist 4 месяца назад
You are doing great job keep it up!
@mehulsharmamat
@mehulsharmamat 6 месяцев назад
Aye thanks so much! :D And yes webhooks are insane!
@licokr
@licokr 4 месяца назад
The easiet explanation on RU-vid, thank you very much!
@rolivasarhelyi
@rolivasarhelyi Месяц назад
Very insightful. Thank you
@DunckingTest
@DunckingTest 6 месяцев назад
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
@medaillek
@medaillek 6 месяцев назад
Hey, thanks for your videos. Could you show us how to integrate a notification system using either aws sns or websockets ?
@Lion-mh9rq
@Lion-mh9rq 6 месяцев назад
thanks for the videos!
@tmanley1985
@tmanley1985 6 месяцев назад
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 6 месяцев назад
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.
@shivam4141997
@shivam4141997 5 месяцев назад
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)?
@SeibertSwirl
@SeibertSwirl 6 месяцев назад
Love ya ❤
@WebDevCody
@WebDevCody 6 месяцев назад
😘
@gixxerblade
@gixxerblade 6 месяцев назад
I did something similar with stripe when a payment was completed/failed. I used polling.
@yassinesafraoui
@yassinesafraoui 6 месяцев назад
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 6 месяцев назад
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.
@rawallon
@rawallon 6 месяцев назад
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 6 месяцев назад
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 6 месяцев назад
@@WebDevCody Sorry I didnt meant text inside image, but rather both services apart but with similar prompts
@solo_driven
@solo_driven 2 месяца назад
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 2 месяца назад
A webhook can invoke the ui. Webhooks can only hit a server
@benc9765
@benc9765 6 месяцев назад
Hookdeck is worth exploring
@joaomaia9140
@joaomaia9140 5 месяцев назад
Any tutorials using nextjs?
@WebDevCody
@WebDevCody 5 месяцев назад
Search my channel
@joaomaia9140
@joaomaia9140 5 месяцев назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-uyVz6LA3Eho.htmlsi=8scPS6IE2ZWQBGfm this one?
@SogMosee
@SogMosee 6 месяцев назад
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 6 месяцев назад
ok... but I enjoy using eraser 🤣. I started using excalidraw and switch to this because it feels better to me
@joaquinbonifacino6964
@joaquinbonifacino6964 6 месяцев назад
Why not use an observer instead of a Webhook?
@WebDevCody
@WebDevCody 6 месяцев назад
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 6 месяцев назад
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 6 месяцев назад
Another reason not to use lambdas where you pay to wait or else add a complex system. AWS really tricked the industry.
@majksu
@majksu 6 месяцев назад
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 6 месяцев назад
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
@ilyaselaissi1628
@ilyaselaissi1628 6 месяцев назад
I think using firebase could make things easier
@adityarawat4964
@adityarawat4964 3 месяца назад
But will not give you more control
@cunningham.s_law
@cunningham.s_law 6 месяцев назад
*server sent events
@WebDevCody
@WebDevCody 6 месяцев назад
thank you
Далее
Why I still choose next.js
19:39
Просмотров 17 тыс.
100+ Docker Concepts you Need to Know
8:28
Просмотров 826 тыс.
How do we scale web applications?
21:11
Просмотров 53 тыс.
Git MERGE vs REBASE
16:12
Просмотров 1 млн
Applying clean architecture to my Next.js project
20:15