🎞️ Videos What happens when you cancel an HTTP request?

Description

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?

Chapters

  • Introduction and Welcome 0:00
  • Live Search Implementation Challenges 0:55
  • Solving API Overload: Debouncing and RxJS 2:32
  • RxJS Explanation and switchMap Operator 4:39
  • Cancelling HTTP Requests and API Behavior 6:54
  • Speaker Introduction and Marmicode 7:09
  • NestJS Overview and Code Example 8:10
  • Observables and Cancellability 10:20
  • Live Coding Demo: File Search Performance 11:36
  • NestJS Interceptors for Request Interruption 16:43
  • MongoDB Integration and Performance Optimization 19:56
  • How Request Cancellation Works and Key Takeaways 22:01
  • Conclusion and Contact Information 24:31

Transcript

These community-maintained transcripts may contain inaccuracies. Select any text to report issues instantly, or edit on GitHub for advanced changes.

Internal server errorBad Gateway