WebSocket Device Connection
摘要
We’ve built the upload pipeline – devices send data to S3, Lambda processes it, and results land in DynamoDB. That’s half the story. Now we need the reverse direction: the cloud must send commands back to devices instantly. “Pan the turret to 45 degrees. Capture an image. Start recording audio.” These commands can’t wait for devices to poll an API every few seconds. We need real-time, push-based communication.