3 ms·
Yes we are using Lambda under the hood. Every customer's custom source or destination is its own Lambda function. This gives us a ton of fine-grained isolation
by nzoschke 7y ago
Yes we are using Lambda under the hood.
Every customer's custom source or destination is its own Lambda function. This gives us a ton of fine-grained isolation, scalability and visibility out of the box.
We ask customers to implement a single function that converts an incoming webhook to Segment data points:
async function onRequest(request, settings) {
Segment.track(...)
}
Inside the function we save the users code to `handler.js` and inject index.js that loads and calls the users `onRequest` function.