Skip to main content

2 posts tagged with "lambda"

lambda tag description

View All Tags

Integrating gRPC with AWS Lambda

· 7 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Integrating gRPC with AWS Lambda: Challenges and Solutions​

While gRPC is the gold standard for high-performance microservices, integrating it directly with AWS Lambda—a serverless, ephemeral computing service—presents fundamental architectural mismatches. Lambda is designed for short, stateless execution, whereas gRPC is optimized for persistent, long-lived connections over HTTP/2.

This article details the challenges of this integration and the primary methods developers use to make gRPC work in a serverless environment.

How to Stream Media Files from S3 Directly to AWS Lambda Using FFmpeg in Python

· 6 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Processing media files inside AWS Lambda can be a challenge due to its resource limits, lack of a local disk, and timeouts. However, it’s entirely possible to stream files directly from S3 into FFmpeg, process them on the fly, and avoid writing anything to disk.

In this guide, we’ll cover:

  • Streaming files from S3 into Lambda
  • Using ffmpeg with stdin and stdout in memory
  • Avoiding /tmp bottlenecks
  • Examples and production-ready patterns