-
-
Notifications
You must be signed in to change notification settings - Fork 750
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
Clustering microservices #121
Milestone
Comments
I created feathers-mubsub for 1) which does event synchronization via MongoDB publish/subscribe. |
|
Closing this issue for now. Both points can be solved with existing 1.1 functionality and plugins. |
daffl
added a commit
that referenced
this issue
Aug 24, 2018
* Rename repository to use npm scope * Update Codeclimate coverage token
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue with a link to this issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
1) Event propagation in a cluster
When two instance of the same application are running in different processes or on different machines
created
,updated
,patched
andremoved
service events should be propagated through the entire cluster. That way every connected client will also be notified of any change no matter where it happened.This can be done by using a master (e.g. the cluster master) as the event dispatching hub and have all client services subscribe and emit events to that master event emitter which then dispatches it to all slaves. It might be necessary for different implementations e.g. the Cluster module and Redis (or other message queuing mechanisms).
2) Individual remote services
The other case is having different services distributed over different applications. Once #118 is resolved this should be simply possible by dropping in a remote service using any communication mechanism (e.g. websockets) like:
The text was updated successfully, but these errors were encountered: