Frontmatter
| id | 5423 |
| title | Compare the performance of BroadcastChannels to MessageChannels |
| state | Closed |
| labels | enhancementstale |
| assignees | [] |
| createdAt | Jun 17, 2024, 4:26 PM |
| updatedAt | Sep 30, 2024, 4:39 AM |
| githubUrl | https://github.com/neomjs/neo/issues/5423 |
| author | tobiu |
| commentsCount | 2 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 30, 2024, 4:39 AM |
So far we are using MessageChannels to connect the different realms. This is a bit cumbersome with forwarding ports, but works well.
We should do some benchmarking to compare it to: https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API
Using them (with specific channel names) would remove the need to manually pass ports.