Skip to content

Please improve docs on best ways to do messaging on kubernetes #2

Open
@kristianmandrup

Description

@kristianmandrup

"At the moment its main function is loading some useful data from the cluster: current pod id and list of pods."

So how would you do the communication. Ppl have been asking whether to use mesh or some alternative

Please see senecajs/seneca#525

You can use seneca-mesh on Kubernetes but you lose some of its functionality.

Because seneca-mesh connects itself together, without using the kubernetes load balancers, when you do rolling updates, for example, you lose the benefit of the role since it uses load balancers to drain the traffic from one container and move it to another.

I did a lot of testing with mesh but decided that a message queue is simpler, gives guaranteed delivery, and allows you to leverage kubernetes rolling updates etc.

Can Pub/Sub be used effectively as messaging infra?? https://cloud.google.com/pubsub/

I would appreciate some example of senecaJS & kubernetes

NOTE:
I have found Fuge as execution environment for developing microservices, and it has a service discovery that emulates Kubernetes.
I would like to know from people that have had experience with seneca and had tried to use it in kubernetes if this fuge-kubernetes emulator could it be a substitute for seneca-mesh and seneca-kubernetes plugins to work with kubernetes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions