My understanding of the message passing system is that it is serialized and therefore all the reads from different processes are serialized even if the data isn’t changing. I would like to have the data read concurrently if possible to take advantage of distributed computing. Is this possible?
My understanding of the message passing system is that it is serialized and therefore
Share
You are correct in that messages will be handled sequentially in a process receiving them.
If the data really is static (well, even if it changes sometimes) consider using an ETS table for this kind of scenario. ETS tables are highly optimized for concurrent access whenever applicable. Unless someone is writing to an ETS table (or row) all clients can read the data concurrently from the table.