> For the complete documentation index, see [llms.txt](https://docs.decentraland.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decentraland.org/contributor/contributor-ko/communications/main-realm.md).

# MAIN 렐름

디센트럴랜드에는 통신 서비스를 제공하는 Catalyst만큼 많은 realm이 있지만, Catalyst 네트워크 밖에 존재하는 MAIN이라는 독특한 realm이 하나 있습니다. MAIN realm은 사용자 연결 과정을 간소화하여 사용자가 더 쉽게 상호작용하고 만날 수 있도록 특별히 설계되었습니다. 이는 Catalyst 노드의 통신 서비스를 대체할 수 있는 서비스 집합으로 구성되어 있습니다. 이 realm은 사용자가 Decentraland에 로그인할 때 기본 목적지 역할을 합니다.

그 [realm 제공자](https://github.com/decentraland/realm-provider) services는 하나의 [/about](https://realm-provider.decentraland.org/main/about) realm 설명이 포함된 endpoint를 [ADR-110: Realm 설명](https://adr.decentraland.org/adr/ADR-110)입니다. 이는 콘텐츠 관리 네트워크와 연결을 설정하는 데 필요한 정보를 제공하며, 이는 Catalyst 노드의 서비스 중 하나로 알려져 있고, MAIN realm 통신 서비스에 대한 연결 정보도 제공합니다.

MAIN 통신 서비스는 [WebSocket 커넥터](https://github.com/decentraland/archipelago-workers)를 통해 접근됩니다. 이 경량 구성 요소는 나머지 백엔드 구성 요소들과의 상호작용을 가능하게 하며, 추가 인스턴스로 손쉽게 확장하여 증가하는 사용자 부하를 수용하고 더 많은 활성 연결을 효율적으로 관리할 수 있습니다. WebSocket 연결을 통해 클라이언트는 LiveKit Cloud에 연결을 설정하는 데 필요한 데이터와 함께 `islandId` 는 Archipelago Service에 의해 할당됩니다. Archipelago Service는 MAIN realm과 Catalyst 노드의 통신 서비스 모두에서 동일한 책임을 집니다. 이는 사용자 위치를 처리하고 그에 따라 각기 다른 섬으로 배정하는 과정을 효과적으로 관리하며, 각 섬은 하나의 LiveKit room에 해당합니다. 이를 통해 가상 세계 내 공간적 위치를 기준으로 사용자 클러스터를 효율적으로 조직합니다. Archipelago Service에 대한 자세한 내용은 다음을 참조할 수 있습니다. [Archipelago](https://github.com/decentraland/docs/tree/main/contributor/communications/archipelago/README.md) 페이지.

[NATS](https://nats.io/) 는 여러 서비스 간의 원활한 통신을 가능하게 하는 브로드캐스팅 시스템으로 기능합니다. 이는 동일한 Archipelago Service와 통신하는 여러 WebSocket Connector 인스턴스를 지원할 수 있습니다. 또한 Stats 서비스가 위치와 섬 그룹화 같은 사용자 통계를 Archipelago에서 수집할 수 있게 하여, 이 데이터를 외부에서 활용할 수 있도록 합니다.

Archipelago stats 서비스는 Catalyst 노드의 Archipelago 서비스와 동일한 API 구현을 공유합니다. 다음 링크에서 API를 확인할 수 있습니다: [Catalyst API 사양](https://decentraland.github.io/catalyst-api-specs/#tag/Archipelago). 이 서비스는 다음 URL을 통해 접근할 수 있습니다 `https://archipelago-stats.decentraland.org/` 그리고 사용 가능한 엔드포인트는 다음 아래에 있습니다 `/comms/` API 사양에 설명된 대로, 예: `https://archipelago-stats.decentraland.org/comms/peers`.

그 [LiveKit](https://github.com/decentraland/docs/tree/main/contributor/communications/transport-types/livekit/README.md) 클라우드 플랫폼은 WebRTC를 통해 사용자 정보를 교환하는 복잡한 작업을 관리하며, 동일한 목적을 위해 대부분의 Catalyst 노드가 공유하는 주요 클라우드 플랫폼입니다.

MAIN realm에서 도출된 기본 개념은 서로 다른 사용자가 콘텐츠 관리 목적(씬 다운로드, 웨어러블, 이모트 또는 프로필 업데이트 전송)을 위해 어떤 Catalyst 노드에든 유연하게 연결할 수 있다는 점이지만, 특정 콘텐츠 관리 노드를 선택하더라도 통신 서비스에 대한 연결은 **할 수 있습니다** 동일할 수 있습니다. 그 결과, 사용자가 서로 다른 Catalyst 노드를 콘텐츠 서버로 사용하더라도 장면 좌표가 서로 가까운 위치에 있다면 서로 상호작용할 수 있게 됩니다.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.decentraland.org/contributor/contributor-ko/communications/main-realm.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
