How to run meteor app on two or more Heroku speakers?
I have a Meteor app that runs on Heroku platform using 1 dyno. When I increase the speaker count it stops working, reporting some XHR (ERROR 404) issues on the client side.
Does anyone successfully run the Meteor app on two or more Heroku speakers? If so, what should I do to make it work?
source to share
No, unfortunately Meteor does not run on Heroku with multiple speakers. Meteor requires session proximity, which Heroku does not currently offer.
Meteor Requires Session Proximity: Launching a Meteor in a Cluster and Changes in Real Time
Heroku doesn't support session affinity: https://devcenter.heroku.com/articles/intro-for-java-developers
source to share
Okay, session affinity (or something similar) seems to be on the roadmap, at least. Thus, the developers expect this issue to be resolved by the time 1.0 is released.
https://trello.com/board/meteor-roadmap/508721606e02bb9d570016ae
source to share