TLDR Web Dev · MISCELLANEOUS
GENERATING 1 MILLION PDFS IN 10 MINUTES
Summary from the TLDR Web Dev newsletter
This blog post goes over a high-performance and cost-efficient PDF rendering pipeline using Rust, AWS Lambda, and Typst. The solution uses AWS services like API Gateway, SQS, Lambda, and S3 along with performance optimizations like caching and batching. The resulting system had a rendering latency of 34ms and a cost of $0.35 per million PDFs. It was able to generate 1 million PDFs in 10 minutes.