Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working under PM2 Cluster #385

Open
malufett opened this issue Jan 20, 2022 · 1 comment
Open

Not working under PM2 Cluster #385

malufett opened this issue Jan 20, 2022 · 1 comment

Comments

@malufett
Copy link

Hi,

I'm trying to scale my meteor app by using pm2 cluster, grpc and redis-oplog however once it on a cluster it stops working, enabling debug it won't show "[RedisSubscriptionManager] Received event: "i" to "consumers"" anymore..

So basically the setup is pm2 will run multiple instance of meteor into different clusters and grpc will be used as loadbalancer to distribute requests particularly mongodb operations. However redis-oplog can't capture those events when insert/update event happens on other cluster

@evolross
Copy link
Contributor

Is your redis server available to all the containers/clusters? As it's the "link" between all your Meteor containers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants