What happens when you cancel an HTTP request? by Younes Jaaidi
Автор: Creatorsgarten
Загружено: 2024-12-17
Просмотров: 1291
Reactive libraries like RxJS allow us to easily cancel HTTP requests but is that really efficient? What really happens on the back-end? Is it possible to propagate the cancelation from the front-end through our microservices and cancel the database query?
0:00 | Introduction and Welcome
0:55 | Live Search Implementation Challenges
2:32 | Solving API Overload: Debouncing and RxJS
4:39 | RxJS Explanation and switchMap Operator
6:54 | Cancelling HTTP Requests and API Behavior
7:09 | Speaker Introduction and Marmicode
8:10 | NestJS Overview and Code Example
10:20 | Observables and Cancellability
11:36 | Live Coding Demo: File Search Performance
16:43 | NestJS Interceptors for Request Interruption
19:56 | MongoDB Integration and Performance Optimization
22:01 | How Request Cancellation Works and Key Takeaways
24:31 | Conclusion and Contact Information
--------------------------------------------
Event: JavaScript Bangkok 1.0.0
https://2019.javascriptbangkok.com/
Organized by: Software Developer Community
https://javascriptbangkok.com
--------------------------------------------
Recorded by LiveTubeX and published by Creatorsgarten.
https://www.livetubex.com/
Website:
https://creatorsgarten.org
Facebook:
/ creatorsgarten
Please consider supporting us by subscribing to the channel, and follow upcoming events via our Facebook pages.
For reuse of this video under a more permissive license please get in touch with us. The speakers retain the copyright for their performances.
[email protected]
To edit the video metadata (title, description, timestamps, thumbnail, etc.), please visit:
https://grtn.org/e/jsbkk1/v/cancel-ht...
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: