Why One Startup Abandoned AWS Lambda Web Functions for Custom Compute
Easel opted to build its own infrastructure after discovering that AWS Lambda Web Functions bill memory for up to seven minutes of inactivity.
Photo: Hacker News Front Page
Key points
- AWS Lambda Web Functions bill memory for 5 to 7 minutes after the last request.
- Easel built custom compute infrastructure to avoid idle memory costs and improve performance.
- Benchmarks showed custom hosts delivered faster warm requests and quicker cold starts.
When AWS introduced Lambda Web Functions, infrastructure teams hoped it would streamline running web applications without heavy custom setups. However, after experimenting with the feature, startup Easel found that execution environments continue billing for memory across five to seven minutes of idle time. While CPU is billed strictly during active use, memory charges accrue for the entire life of the environment, a factor that becomes costly for platforms managing thousands of intermittently used applications.
Easel attempted to mitigate this by programmatically terminating environments after ten seconds of inactivity, but AWS logged those manual shutdowns as runtime failures. Unwilling to rely on that workaround in production, the team decided to run their own compute hosts for application execution while retaining traditional Lambda for overflow traffic.
When benchmarked against the same Next.js application, the company's self-operated infrastructure answered warm requests up to three times faster and achieved cold starts roughly 3.5 times faster. Although the tests represent early findings from a single region, the custom setup provided better control over resource scheduling and eliminated unexpected idle memory expenses.
What to watch next: Monitor whether AWS introduces configurable idle timeouts for Lambda Web Functions to address developer concerns over idle memory billing.
Source Hacker News Front Page — easel.sh/blog/lambda-web-functions-idle-memory ↗
Read next
🏢Big TechGoogle Pixel Tag Performance Limited on Older Android Hardware
Google's new Pixel Tag Bluetooth tracker offers advanced precision features only when paired with devices supporting Bluetooth 6.0 and Android 9.0 or newer.
🚀Startups & FundingFormer Adobe Engineers Launch Phota Labs iOS App to Fix and Enhance Photos Using AI
Backed by a16z, a new iOS application called Phota Labs applies artificial intelligence to upgrade everyday snapshots while maintaining the authentic appearance of subjec…
🔌Chips & HardwareFormer Nvidia CEO Jensen Huang Agrees to Congressional Deposition
Former Nvidia chief executive Jensen Huang will testify privately before U.S. House lawmakers before Thanksgiving following subpoena threats related to national security …
⚖️Regulation & PolicyNintendo Issues Massive GitHub Takedown Targeting Switch Emulators and Mod Chip Firmware
Nintendo has intensified its legal crackdown on piracy tools, filing multiple DMCA notices to remove Switch emulators and over 140 repositories containing mod chip firmwa…
🌐Work & SocietyAWS Introduces Migration Toolkit for Amazon Bedrock Managed Knowledge Base
Amazon Web Services has released a migration guide within its Agent Toolkit to help teams transition from customer-managed to managed knowledge bases on Amazon Bedrock.
🌐Work & SocietyDonald Trump Proposes Former Apple Chief Tim Cook to Lead Nvidia
Following Jensen Huang's resignation, U.S. President Donald Trump has suggested that former Apple CEO Tim Cook take over leadership of Nvidia.