Re: What is meant by blocking request in django?

2018-11-30 Thread Ryan Nowakowski
This is how I think about blocking in the context of Django. Anything that takes time and is not directly related to returning an http response should be done in the background (via celery or whatever). Your email example is a good one. The email doesn't need to be sent before the http response

What is meant by blocking request in django?

2018-11-30 Thread Kharis
Once I worked on a feature that use API like sending emails from my app, I write the code inside the django app. My superior told me that causes request to block, so another request will be blocked until the process of calling the API finished and response sent to user. He suggest that this proc