dwyl/learn-aws-lambda

How do we simulate "Real Time" interaction without WebSockets ?

Open

#32 ouverte le 28 janv. 2016

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)JavaScript (206 forks)batch import
help wantedquestion

Métriques du dépôt

Stars
 (1 037 stars)
Métriques de merge PR
 (Merge moyen 16m) (1 PR mergée en 30 j)

Description

WebSockets allow us to stream additional data from/to client/server beyond the limits of http request/response. This has opened a world of Real Time apps. Given that keeping Lambda functions running for long time will cost a lot (because we are billed per 100ms) we need to consider an alternative approach for sending data to the client after the initial page/data is rendered...

_Polling_?

http://stackoverflow.com/questions/12555043/my-understanding-of-http-polling-long-polling-http-streaming-and-websockets

Guide contributeur