title: Is it possible to use Socket.io with AWS Lambda?
body: <p>Is it possible to build a function in AWS Lambda that creates a websocket and send data to subscribed applications?</p>
  
  <p>Something like this:</p>
  
  <p>John has the app SuperPhotoApp opened in his phone but decides to use the desktop browser to upload a photo to the SuperPhotoApp service (a S3 Bucket), this event executes a Lambda function that creates a socket.io server and pushes the update to all subscribers, his phone had the app opened so the app automatically updates with the new photo.</p>
  
  <p>This is something that can be done with push notifications or Amazon SNS, but what if I need real-time behaviour for example an online game where I need to update the position of a character.</p>
  
  <p>If this is not possible with Lambda, is there any solution where I can update my opened app using a desktop browser?</p>
  
  <p>Amazon EC2 is the only option? I've read that it has problems with scaling, that's why I'm commenting on Lambda.</p>