Wednesday, 15 March 2017

i18next is not working in cluster mode of node js server

I am using i18next with node js. I have two applications running. one is main application and another one is configuration system (like if we update configurations in configuration system, it will effect in main application). So we implemented dynamic translations(If i update translations in configuration system, it will effect in main application). It is working fine in local machine( As Node Js server running without cluster mode). But if i ran the same application in cluster mode, the languages are not updating because in cluster mode only one process is updating. When ever the request hit to same process i am getting properly, but If request get hit to another process translations are not updating. Is there any way to update languages to all instances ? Please help me out. Pardon for my bad english. Hope you will understand my scenario. If Not, Please let me know so that i could try to explain in better way.



via anil

No comments:

Post a Comment