We’ve built the WebSocket connection – devices can send small protobuf messages and receive commands instantly. But what happens when a camera needs to upload a 5MB JPEG? Or does a microphone record a 15-second audio clip that compresses to 2MB? Sending these through WebSocket hits Lambda’s hard limit: 6MB maximum payload size.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Presigned URLs for Large File Uploads

  • Dmytro Kozhevin

摘要

We’ve built the WebSocket connection – devices can send small protobuf messages and receive commands instantly. But what happens when a camera needs to upload a 5MB JPEG? Or does a microphone record a 15-second audio clip that compresses to 2MB? Sending these through WebSocket hits Lambda’s hard limit: 6MB maximum payload size.