Region Domain

From Second Life Wiki
Jump to: navigation, search

How the region domain looks like

SLGArchWG1-09-Region Domain.jpg

A Region domains handles everything related to regions. The internal architecture is basically the same for Agent Domains.

Region Services

SLGArchWG1-10-Region Services.jpg

Region Services handle stateless information about regions. This can be name, parcel information and so on. This can be cached and can (but isn't required to) be public.

  • Avatar Positions
    • Rough avatar locations (green dots on map)
    • Requests from other Agents
      • Mapstalking
      • God / Support level
  • Object Information
    • MetaData (Name / Desc / For Sale)
      • Searching
    • Task Inventory
    • Location
      • Building map images
    • Region Statistics (FPS/Frame Times/etc)
      • I think that currently this is 'pushed' upstream
  • Parcel Information
    • Name / Desc
    • Only Public if search enabled (opt in vs opt out)

Region Hosts

SLGArchWG1-11-Region Hosts.jpg

These are the things we know today as simulators. They handle all the in-world interaction between objects and avatars, however Region Stores to obtain their data (be it parcel information, objects in the region and so on). If a Region Host down, simulated region will be unavailable.

  • Physics
  • Script Execution (if not compiling)
  • Local avatar/script chat

Region Stores

SLGArchWG1-12-Region Stores.jpg

Region Stores hold the actual data about a region.

  • Object Information
    • Location
    • Shape / Texture
    • Link/Group Relationship
    • Inventory
    • MetaData
      • Name / Desc
      • Permissions
      • Version specific information. Isn't Qarl working on an extra object field ?
  • Region Info
    • Permissions
    • Textures
    • Logs
    • Metrics / Stats
  • Parcels
    • Metadata
      • Name / Desc
      • Permissions
      • Metadata
    • Search Settings

Other Region parts

SLGArchWG1-13-Region Other.jpg

There are some further services needed which e.g. map the IP address of an in-world object.

How login works (part 2)

SLGArchWG1-14-Region Login.jpg

After the login in the Agent Domain has taken place, the process goes on with the login in the Region Domain.

  1. agent host contacts region service
  2. region service queries region store to obtain information about the region
  3. region service contacts region host to ask it to establish a session for the new agent
  4. agent host put in direct contact with region host (e.g. for getting the avatar)
  5. agent host returns region host to viewer (for direct communication)
  6. viewer now can talk to correct region host

Now this actually means that the Viewer itself does not decide to which region to connect. Or it might be part of the information send to the Agent Service in step 1 of the agent domain login process.

See also