Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

151
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!