> For the complete documentation index, see [llms.txt](https://docs.perfectscale.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.perfectscale.io/2.0-self-hosted-or-perfectscale-documentation/product-overview/product-architecture.md).

# Product architecture

<figure><img src="/files/ers8A8aGzVE6xueZAkkP" alt=""><figcaption><p>Self-hosted product architecture</p></figcaption></figure>

## On-prem cluster <a href="#on-prem-cluster" id="on-prem-cluster"></a>

The provisioned cluster is used as a platform for installing all PerfectScale self-hosted components, and it is responsible for storing, processing, and analyzing data from all tenant clusters.

## Perfectscale SAAS <a href="#perfectscale-saas" id="perfectscale-saas"></a>

PerfectScale SAAS serves artifacts and licensing. The system can optionally receive telemetry data from the on-prem cluster (opt in by tenant).&#x20;

:point\_right: Artifacts can also be copied to the tenant’s artifact mirror.&#x20;

:point\_right: A license verifies that the tenant can install on-premises.

## Cluster A and Cluster B <a href="#cluster-a-and-cluster-b" id="cluster-a-and-cluster-b"></a>

These are some examples of clusters. It’s optional for the customer to choose which components to install in their other clusters. However, we recommend starting with the exporter, but you can also install the autoscaler or the GitOps autoscaler on top of it.

Communication is unidirectional - both exporter and autoscaler pull data. Telemetry is pushing data to an on-prem installation.

## Slack & Teams <a href="#slack-and-teams" id="slack-and-teams"></a>

The PerfectScale self-hosted solution can push alerts to the preferred communication channels, such as [Slack](/2.0-self-hosted-or-perfectscale-documentation/customize-workflow/communication-and-messaging/slack-integration.md) or [MS Teams](/2.0-self-hosted-or-perfectscale-documentation/customize-workflow/communication-and-messaging/ms-teams-integration.md).


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.perfectscale.io/2.0-self-hosted-or-perfectscale-documentation/product-overview/product-architecture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
