Does anyone know how to make an HTTP request from Google App Engine without waiting for a response? It should be like push data with http without delay for a response.
I think this section of the AppEngine docs is what you are looking for.
Use the task. If you just click on the data, it makes no sense to wait for a response.
What you can do is put a task with any received data in the request handler (using the deferred library ). Once the task is successfully completed, you can return the answer “200 OK” and be ready for the next press.
I did this earlier by setting URLFetch and setting a very low value for the deadline parameter. I set 0.1 as my value, so 100ms. You need to wrap URLFetch in try / catch, as the request will time out.
Source: https://habr.com/ru/post/1341170/More articles:How to securely store my CouchDB admin password? - securitySharePoint 2010: Create a Notify Me Button - sharepoint-2010CSS - Div must match content and line of interruption - cssHow can I beat the Eclipse autocomplete function? - androidSilverstripe login form setup - silverstripeHow to improve the time complexity of this algorithm - optimizationIs it possible to return ASP.NET precompilation? - asp.netHow to save a C ++ object in memory? - c ++Requires tool to decompile obfuscation .net code - .netSelf-hosting 2000+ web services through WCF - c #All Articles