Advanced Grid ConfigurationsThis page contains discussion about advanced grid configurations. In other words how simulation nodes can be located in virtual space to produce optimal performance from both network and cpu consumption perspectives. Another important characteristics is the relative maximum size of objects compared to the simulation node sizes. The following examples demonstrate how these characteristics vary depending on the chosen configuration. In practice these configurations may vary in different virtual locations of the grid depending on the requirements and importance of the volume in question. If you know other good configurations or existing articles please refer them here or extend this article. Critique is very much welcome as well. We will use the following values in the performance requirement calculations:
Simple Cubic LatticeSimplest grid configuration is simple cubic lattice as illustrated in the following picture in 2D:
Simple cubic configuration does not provide redundancy or local load balancing. Local load balancing means that the same space is simulated by several simulations which exchange state information. One object is simulated by one simulation and one client is connected to one simulation at a time. All the servers need to simulate each object with simple 3d physics model to predict movement but the internal state is simulated only by one simulation. Different simulations may be run by different service providers and they may have different implementations. Local load balancing offers networking benefits as clients can be directed to different simulations. For example client could choose to join the simulation with lowest ping or one with well compliant implementation. The same configuration illustrated in 3D:
Bandwidth Considerations for Simple Cubic Lattice
Dual Cubic LatticeDual cubic lattice consists of two intersecting simple cubic lattices as illustrated in the following 2D picture:
Dual cubic configuration offers spatial load balancing, local load balancing and redundancy. In redundant grid one simulation node may shutdown and the grid remains accessible in that location. Whether the objects in the simulation which was shutdown still exist after the event depends on succesful migration of the objects to the other simulation nodes governing that volume. Dual cubic lattice also minimizes the amount of offline volume down to 1/8th of node volume when two overlapping nodes shutdown simultaneously. Bandwidth Considerations for Dual Cubic Lattice
1650 Views |