Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Multiple Instance Connections #6121

Merged
merged 53 commits into from
May 31, 2022
Merged

Multiple Instance Connections #6121

merged 53 commits into from
May 31, 2022

Conversation

HexaField
Copy link
Member

@HexaField HexaField commented May 18, 2022

Checklist

  • replace usage of 'server' and 'media' IDs with instance server IDs
  • move Network to World, rename NetworkTransport to Network
  • send actions to specific networks

Summary

This PR changes a few core concepts in the codebase. Firstly, HyperFlux now runs as a single store with multiple topics. Actions can be dispatched to multiple topics, and all actions are processed at the same time.

We have changed how things are scoped, networks are now decoupled from their transports, and worlds are decoupled from network.

Screenshot from 2022-05-31 13-47-32

References

closes #6078

Checklist

  • CI/CD checks pass npm run check
    • Linter passing via npm run lint
    • Typescript passing via npm run check-errors
    • Unit & Integration tests passing via npm run test
    • Docker build process passing via npm run build-client
  • If this PR is still a WIP, convert to a draft
  • When this PR is ready, mark it as "Ready for review"
  • Changes have been manually QA'd
  • Changes reviewed by at least 2 approved reviewers

QA Steps

List any additional steps required to QA the changes of this PR, as well as any supplemental images or videos.

Reviewers

Reviewers for this PR

@HexaField HexaField changed the title Network Transport Instance ID Refactor Multiple Network Instance Connections May 20, 2022
@HexaField HexaField changed the title Multiple Network Instance Connections Multiple Instance Connections May 20, 2022
@HexaField HexaField marked this pull request as ready for review May 31, 2022 02:57
@HexaField HexaField merged commit 92fde8f into dev May 31, 2022
@HexaField HexaField deleted the instance-server-host-id-2 branch May 31, 2022 03:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiple Instance Connections
2 participants