Skip to content

Broadcasting data using SharedMemory #70

@ekalchev

Description

@ekalchev

I am looking for advice how to implement the following functionality with SharedMemory

I have N number of processes and I would like any of those N processes to broadcast data to other N-1 processes.
I looked at the code and it seems this is not supported out of the box. I am looking how to implement that utilizing SharedMemory classes.
One possible solution is every process to have CircularBuffer with unique name. On start, every process will register the name of his Circular buffer on my own implementation of Memory Mapped file that will act as registry for the active processes. When a process need to broadcast data, he will first read the memory mapped file with the regirations and they will construct many circular buffers using the registration names and then will send the data to each buffer.

Is there easier way to do that using SharedMemory?

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