# Network topology

The network topology is a critical aspect of any distributed system, including our Matrix metaverse. In order to provide a reliable and scalable platform for our users, we have designed a highly optimized and fault-tolerant network topology.

Our network topology consists of a hierarchical structure that includes several layers of nodes with different roles and responsibilities. The first layer consists of edge nodes that are responsible for handling user requests and forwarding them to the appropriate layer 2 nodes. These nodes are designed to be highly responsive and low latency, allowing users to interact with the metaverse in real-time.

The second layer of nodes consists of validator nodes that are responsible for verifying transactions and maintaining the state of the system. These nodes use a distributed consensus algorithm to ensure that all nodes agree on the current state of the system. The consensus algorithm is designed to be highly fault-tolerant and can tolerate up to a third of the nodes being malicious or offline.

The final layer of nodes consists of archive nodes that store a complete copy of the metaverse's history. These nodes are designed to be highly scalable and can handle large volumes of data. They also provide a useful resource for developers who wish to analyze the metaverse's historical data.

Our network topology is designed to be highly scalable, fault-tolerant, and performant. We believe that this architecture will provide our users with a reliable and responsive platform that can scale to meet their needs.
