How REST APIs support upload of huge data and long running processes | Asynchronous REST API

preview_player
Показать описание
We are very glad to start the REST APIs made easy course with the very first video on fundamentals of REST APIs, HTTP Methods, taxonomy around REST APIs etc. We hope that you get some value out of this course and these concepts help you thrive in your jobs, interviews and help you become better software engineers every day. Here are few links that you might want to refer before or during the course:

More on the topic:

------------------------------------------------------------------
Recommendations
------------------------------------------------------------------

Our full courses on youtube:

Some paid courses that we recommend:

------------------------------------------------------------------
About Us
------------------------------------------------------------------

Created and Instructed by:
Yogita Sharma

Post-production(editing, thumbnail etc) managed by:
CiKi

Colors and design by:
Naini Todi

Both Arpit and Yogita are software engineers and want to help other software engineers become better by providing high quality and well researched content by adding their creativity and teaching twist.

------------------------------------------------------------------
Join Us
------------------------------------------------------------------
Hangout with sudoCode:

For business:
Рекомендации по теме
Комментарии
Автор

I think what you have described here is the request/response pattern for long running jobs. This should NOT be confused with uploading a large file using HTTP, where you need to keep the connection alive until the content for that request is fully uploaded. If you send a 202 right away, the HTTP connection will be terminated and there is no way for the client to send the rest of the file. You can however, have multiple requests in parallel, where some are uploading different chunks of the file, while one request keeps polling the overall status. I think this is how youtube uploads work.

warnercooler
Автор

Very Nicely explained. Another good example of asynchronous flow is the life cycle of an order on an e-commerce site starting from placing of an order till it is delivered to the customer. Customer checks the status of his order on the e-commerce portal which in turn calls an Rest API in the backend to fetch that data.

ayasswain
Автор

As always, a simplified, easy to understand explanation. A logical next step would be to cover webhooks as a form of async APIs

shyamsundervr
Автор

Thanks for the video. Awesome explanation! Especially how you use all technical vocabulary to explain examples- long running operation/process, put/post api, Resource, Endpoint, latency, Asynchronous, Synchronus, token, fetch the data, user experience,

nandanp.c.
Автор

I think instead of file upload operation making an order is a better example.
The server can return a response with your req has been acknowleged.
Meanwhile a lot of operation can take place in bg for eg. Checking if the inventory is available fir that order, in which location the inventory is available, what would be the most optimal location to serve that order from etc.

himachal
Автор

Great video. I had one query:
In case of file upload, our api would be sending chunks of data continuously. Then how is it asynchronous?

reyazahmed
Автор

Hi ma'am, it would be great if you could make a video on the practical implementation of asynchronous APIs. And is there any relationship between async APIs and message queues? I mean can we use message queues to implement async APIs?

sajjad
Автор

Your channel is so simplified and easy to understand. But some video does not have subtitle. So I hope you can add subtitle for anyone can be easy to follow what you're saying. Thanks.

vietanh
Автор

Great video, we can use it for bulk delete operation also.

ameeralikhan
Автор

its a HOT question in interview for me, Thanks for this video

Sparshchokra
Автор

Another good example would be withdrawing money from ATM vs withdrawing cash from bank after getting a token.

priteshugrankar
Автор

Thats a very rich content a big thankyou from society..

hiteshgupta
Автор

Thanks for this video, very nicely explained.

shubhamjaiswal
Автор

Nicely explained. Thanks for this video👍👍👌

MrPS
Автор

High Quality Content, lIked it, clicked like button

iamnoob
Автор

Thank you for such wonderful, precise content.

sanathkumaru
Автор

Hi Yogita, Thanks for making such an awesome content on System design. Can you please make on video on detailed explanation of communication between different components of a system with real-life example. Thanks again!

RaunakShrivastava
Автор

Maam can you make an elaborate separate video for filtering and pagination . Like a detailed video with code snippets and examples

aanadinatu
Автор

Awesome tutorial for explaning Asynchronous call but It would have been better if you create one Asynchronous REST API through coding.

sujitkumar
Автор

Hey Yogita, this video is super helpful, I have a question, does asynchronous processing increase the efficiency of an api in any way?

kuberyadu