
Sign up to save your podcasts
Or


This Cognixia Podcast discusses how Zomato faced performance issues with its old PHP-based PDF generation system, struggling with latency and scalability. Instead of opting for commercial solutions, they built *Espresso*, a high-performance PDF generation system using *Go* for speed and concurrency, *Rod* for headless Chromium rendering, and *Go PDF* for signing. Optimization strategies included pre-paint PDF generation, fine-tuned Chromium flags, and DataURI image prefetching. Espresso generates and signs PDFs in under 200ms, handling 120,000 requests per minute, reducing server costs by 90%. Open-sourced on GitHub, it showcases Zomato’s engineering excellence in solving real-world technical challenges.
By CognixiaThis Cognixia Podcast discusses how Zomato faced performance issues with its old PHP-based PDF generation system, struggling with latency and scalability. Instead of opting for commercial solutions, they built *Espresso*, a high-performance PDF generation system using *Go* for speed and concurrency, *Rod* for headless Chromium rendering, and *Go PDF* for signing. Optimization strategies included pre-paint PDF generation, fine-tuned Chromium flags, and DataURI image prefetching. Espresso generates and signs PDFs in under 200ms, handling 120,000 requests per minute, reducing server costs by 90%. Open-sourced on GitHub, it showcases Zomato’s engineering excellence in solving real-world technical challenges.