Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

154
Vistas
Heroku server instances, session affinity and socket.io

I have a functioning webApp that uses socket.io to communicate to a node.js server and ultimately to other clients. When moving into large scale testing, if Heroku initiates a new dyno to run my webApp, how can socket.io connect to the new instances and if I have local data stored in one dyno, can another dyno access the same data?

Example: When a client connects to the server a new global object is created that stores information as key/value pairs. If the global object already exists, when a new client connects they are able to access the global object. If a client connects to a dyno different than the dyno where the original object was created can they access it?

I have read through Heroku documentation including the section on 'Session Affinity' but I'm still confused/uncertain as to how it works.

Thanks All

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda