UPDATE:
In the example provided in the video, the client app was mistakenly making periodic requests to the server (every five seconds) to check for updates. This approach is not the correct way to use webhooks, as it defeats the purpose of real-time updates without polling.
In a proper webhook implementation, the client app would provide its webhook URL to the server, and the server would push updates to the client as soon as they become available. The client app should not actively check the server at regular intervals. Pinned the comment with updated code, can't post the updated code in description.
/ bytemonk
• System Design Interview Basics
• System Design Questions
• LLM
• Machine Learning Basics
• Microservices
• Emerging Tech
AWS Certification:
AWS Certified Cloud Practioner: • How to Pass AWS Certified Cloud Pract...
AWS Certified Solution Architect Associate: • How to Pass AWS Certified Solution Ar...
AWS Certified Solution Architect Professional: • How to Pass AWS Certified Solution Ar...
#webhook #webhooks #systemdesign
System Design Interview Basics Playlist:
► • System Design Interview Basics
AWS Certification:
►AWS Certified Cloud Practioner: • How to Pass AWS Certified Cloud Pract...
►AWS Certified Solution Architect Associate: • How to Pass AWS Certified Solution Ar...
►AWS Certified Solution Architect Professional: • How to Pass AWS Certified Solution Ar...