You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, i posted some days ago a question about the Nest.js cluster mode and sticky session, but i got no answer.
I need this for my work project and have no senior that can help me with advice or configuration and i have some days left to implement it.
I found on the net this implementation with farmhash medium post it seems to work, but I don't know how good is this for production, dev(not local) server.
So i decided to implement NGINX.I have installed it and configured but still get the Session ID unknown error.I saw the example with multiple nodes(docker containers) and i think this is the problem because as I said above I have single container of my Nest app running in cluster mode.
The question is did i configure NGINX wrong and this is because i still get the Session ID unknown or it can be used only for multiple nodes(containers) not for one app running in cluster mode.Or the thing with farmhash from the blog above is good choise for a production for a +- 50 users.
Thanks for help already.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey, i posted some days ago a question about the Nest.js cluster mode and sticky session, but i got no answer.
I need this for my work project and have no senior that can help me with advice or configuration and i have some days left to implement it.
I found on the net this implementation with farmhash medium post it seems to work, but I don't know how good is this for production, dev(not local) server.
So i decided to implement NGINX.I have installed it and configured but still get the Session ID unknown error.I saw the example with multiple nodes(docker containers) and i think this is the problem because as I said above I have single container of my Nest app running in cluster mode.
The question is did i configure NGINX wrong and this is because i still get the Session ID unknown or it can be used only for multiple nodes(containers) not for one app running in cluster mode.Or the thing with farmhash from the blog above is good choise for a production for a +- 50 users.
Thanks for help already.
Beta Was this translation helpful? Give feedback.
All reactions