Re: how does Django handle outbound requests?

2021-06-27 Thread Glenn Rutkowski
Tom & Michael, Thanks for taking the time to reply. The thing that has me stuck is this - I really want to get a good understanding of it before I proceed with my project: While the backend request is running, django blocks, but uwsgi has multiple django instances started so other

Re: how does Django handle outbound requests?

2021-06-27 Thread Thomas Lockhart
It is quite often recommended to keep it simple and then optimize if you need to. The optimization woiuld be to decouple the external request using a queue, then provide a response to the client separately. Just as you suggest. You can also design your API to allow this optimization, without

Re: how does Django handle outbound requests?

2021-06-27 Thread Michael Ross
On Fri, 25 Jun 2021 14:41:52 -0700 (PDT) Glenn Rutkowski wrote: > Can anyone point me in the right direction? We are using Django as an API > Endpoint that accepts a request and then repackages it and sends it to an > external service and waits for a response. I'm interested in the external

how does Django handle outbound requests?

2021-06-25 Thread Glenn Rutkowski
Can anyone point me in the right direction? We are using Django as an API Endpoint that accepts a request and then repackages it and sends it to an external service and waits for a response. I'm interested in the external call and how it is handled. If it times out or takes forever, what it