Agent Domain

From Second Life Wiki
Revision as of 17:54, 27 September 2007 by JetZep Zabelin (talk | contribs) (→‎Agent Stores: minor cleanup)
Jump to navigation Jump to search

What the agent domain looks like

SLGArchWG1-03-Agent Domain.jpg

The Agent Domain handles everything that has to do with agents. It stores their profile data, their inventory, handles login etc. There are 3 parts inside the Agent Domain: Services, Hosts and Stores. There can be multiple instances of each part although to the outside they probably will look like one. It doesn't matter in the archtecture. It simply can be as redundant, scalable as you need it.

The 3 parts of the agent domain

Agent Services

SLGArchWG1-04-Agent Services.jpg

Agent Services handle stateless information about agents. This can e.g. be profile data. As it's stateless it can be cached and this information can be publically accessible. These will be web services.

Agent Hosts

SLGArchWG1-05-Agent Hosts.jpg

Agent Hosts handle agents which are logged in. They are handling their sessions. Information handled here can be location of avatar, status, friends status etc. If the Agent Host you are on right now goes down you will be logged off.


Agent Stores

SLGArchWG1-06-Agent Stores.jpg

The Agent Stores contain the actual data. They are basically databases which e.g. hold inventory data, profile information and so on. These stores can again be as redundant as one might want them to be.

All the rest

SLGArchWG1-07-Agent Other.jpg

Not exactly sure here anymore but it might be mapping things, like on which agent host is which agent etc.


How login works

SLGArchWG1-08-Login.jpg

This is the first part of the login process. It's logging in to the agent domain, no region is involved yet.

  1. Viewer sends login information to the Agent Service
  2. The Agent Service queries the agent data from the Agent Store
  3. The Agent Service asks an Agent Host to initiate a session
  4. The Agent Host establishes a connection with the Viewer.