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
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.
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.
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)?
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?
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.
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
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
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
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
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
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?
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.
What a great content you provide, you put us in real world scenarios thank you
Instructions unclear: I'm now Captain Hook ☠️
This was complete and fantastic!
Best Video that explains the about the Web Hooks very easy to understand
The github example got me thru, Thanks for this!
The easiet explanation on UA-cam, thank you very much!
Aye thanks so much! :D
And yes webhooks are insane!
You are doing great job keep it up!
Hey, thanks for your videos. Could you show us how to integrate a notification system using either aws sns or websockets ?
Thanks for the amazing video!
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
Very insightful. Thank you
Great video!
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.
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.
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)?
I did something similar with stripe when a payment was completed/failed. I used polling.
thanks for the videos!
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?
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.
Why to not use a webhook to notify the update the ui of the user? What is the difference between webhook and websocket ?
A webhook can invoke the ui. Webhooks can only hit a server
i thought the person in the pictures was Mr Beast right until the last 3 seconds of the video
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
ok... but I enjoy using eraser 🤣. I started using excalidraw and switch to this because it feels better to me
Love ya ❤
😘
Any tutorials using nextjs?
Search my channel
ua-cam.com/video/uyVz6LA3Eho/v-deo.htmlsi=8scPS6IE2ZWQBGfm this one?
Why not use an observer instead of a Webhook?
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
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
Another reason not to use lambdas where you pay to wait or else add a complex system. AWS really tricked the industry.
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
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
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?
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.
@@WebDevCody Sorry I didnt meant text inside image, but rather both services apart but with similar prompts
Hookdeck is worth exploring
I think using firebase could make things easier
But will not give you more control
*server sent events
thank you