Skip to content

Scalability issues #3

@snosratiershad

Description

@snosratiershad

As channels are stored in engine struct (in memory) bean can not to be deployed with multiple replicas causing issues with ha and scalability of platform.
I think a pub/sub based solution to handle send or receive of chunks will help, there will be two channels receiver channel and sender channel every replica will receive all chunks and will beam them if owns the receiver's channel, and every replica received a chunk from sender channel will also publish it to the topic/etc.
Also I'm thinking to a shard based p2p messaging, which channels are sharded and messages will be routed based on a shard key to the replica that has the receiver channel.
What do you think about them?

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