Tag: serverless

How to make “Fire-and-forget” HTTP request from Node.js without waiting for response.

Lambda functions at zeit/now v2 platform have default execution timeout 10s. Another limitation important to consider: – the process gets killed right after the response was sent. When you have a job to be done in the lambda, not required immediately to prepare HTTP response (e.g. writing log to the database) – it’s a good idea to send a response…