-
Este código se corresponde con la sección: Option 2: Socket.io que muestra como usar websockets en Heroku utilizando el módulo Socket.io
-
Aquí es esencial habilitar session affinity:
[~/local/src/javascript/learning/websockets/websockets-heroku-socket-io(master)]$ heroku features:enable http-session-affinity Enabling http-session-affinity for ⬢ dsi-socket-io-example... done
Session affinity, sometimes referred to as sticky sessions, is a platform feature that associates all HTTP requests coming from an end-user with a single application instance (web dyno).
ull-esit-dsi-1819 / websocket-socket-io-heroku Goto Github PK
View Code? Open in Web Editor NEWhttps://campusvirtual.ull.es/1819/course/view.php?id=1095
Home Page: https://ull-esit-dsi-1819.github.io/dsi-1819/tema3-web/practicas/p5-t3-websockets/