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...
Смотрите видео How WebHook works | System Design онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь ByteMonk 13 Март 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 91,649 раз и оно понравилось 2.1 тысяч людям.