All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

How Nango evolved its runtime for running untrusted customer code at scale

By

Ross McEwan

1d ago· 6 min readenInsight

Summary

Nango, a code-first platform for building product API integrations, shares how its runtime for executing untrusted customer code evolved from an in-process sandbox to tenant-isolated AWS Lambda functions. The company runs over 150 million customer-written functions per month across three distinct workload shapes. The article details the technical challenges of safely executing untrusted code that could attempt anything from API fetching and data transformation to memory leaks and breakout attempts, and explains the architectural evolution to address these security and scalability requirements.

Key quotes

· 3 pulled
We run more than 150 million of these functions a month across different workload shapes.
That code is untrusted, and can try to do anything: fetch an API, transform data, throw an exception, leak memory, or intentionally try to break out.
Our requirements for the code runtime: We run three very different workloads.
Snippet from the RSS feed
Nango runs untrusted customer code 150M+ times a month. We share how our runtime evolved from an in-process sandbox to tenant-isolated AWS Lambdas.

You might also wanna read