---
layout: article
title: Network
description: Discover Appwrite's network architecture with global regions, edge nodes, and optimized routing. Explore how it ensures low latency, reliable performance, and scalable infrastructure for modern applications.
---

Appwrite's network is designed to deliver low-latency, high-performance experiences for developers and end-users alike. It leverages a robust Content Delivery Network (CDN) with edge locations across multiple regions to ensure fast and reliable data delivery.

With distributed infrastructure and multiple deployment regions, Appwrite enables developers to build globally scalable applications while maintaining data sovereignty. Its architecture integrates seamlessly with APIs, storage, and databases, optimizing both speed and availability.

![Network map](/images/docs/network/all-maps.avif)

# Components
The Appwrite Network is composed of multiple components that work together to deliver a seamless experience for developers and end-users. These components include:

- [Regions](/docs/products/network/regions): Multi-region deployments for geo-redundancy, compliance and low-latency.
- [Edges](/docs/products/network/edges): Edge nodes for fast request processing and reduced round-trip times.
- [CDN](/docs/products/network/cdn): Global infrastructure for optimized routing, enabling faster and more consistent data delivery.
- [Endpoints](/docs/products/network/endpoints): Dedicated endpoints for region-specific, edge, and compute workloads.

## Region vs Edge

In Appwrite, Regions are where all your core data and services live. This includes your databases, auth, functions, messaging, and storage. Regions are the source of truth, handling heavy workloads and ensuring your application runs reliably while keeping your data compliant with local regulations.

Edges are about speed. They process requests closer to your users using smart geo-routing, reducing latency by handling compute tasks at the nearest edge location. Edges are perfect for serving cached content, executing lightweight computations, and optimizing user interactions.

**Where to execute?**

The Appwrite Network is designed for flexibility. You can choose to run your serverless compute workload in your project's home region by using the `<ID>.<REGION>.appwrite.run` endpoint, or on the edge using the `<ID>.appwrite.network` endpoint. Both your region and edge endpoints can be customized to use your own custom domain.

# Architecture

Appwrite's network is designed to provide a balance between centralized compute and distributed delivery:
- Regions: Core infrastructure and data resides in global regions, where all services like databases, auth, functions, messaging, and storage operate. These regions ensure data sovereignty, compliance, and high availability for critical workloads.
- Edges: Distributed edge locations process requests closer to end-users, leveraging smart geo-routing to minimize latency. These edge handle tasks like caching, static content delivery, and lightweight compute to improve performance.
- Private Routing: Data moves between edge nodes and regions through optimized, low-latency connections to ensure fast and reliable communication.

This setup separates heavy backend processing in regions from latency-sensitive tasks at the edge, enabling efficient handling of global workloads with minimal performance trade-offs.

**Self-Hosting?**

Appwrite's self-hosted setup is designed and optimized for straightforward, single-region environments - making it an ideal choice for small to medium-scale workloads.
All Cloud users have access to the Appwrite Network. If you need to scale your self-hosted deployment or require additional solutions, please [contact us](/contact-us/enterprise).

# Features

- [Domain Name System](/docs/products/network/dns): Provides dedicated nameservers and DNS management for apex domains with SSL certification.
- [DDoS mitigation](/docs/products/network/ddos): Protects against distributed denial-of-service attacks, ensuring uninterrupted access.
- [Transport Layer Security (TLS)](/docs/products/network/tls): Encrypts data in transit for secure and private communication.
- [Firewall](/docs/products/firewall): Project rules to deny, rate limit, redirect, or bypass matching API, Functions, and Sites traffic.
- [Compression](/docs/products/network/compression): Reduces data size in transit to improve transfer speed and efficiency.
- [Caching](/docs/products/network/caching): Stores frequently accessed data for faster retrieval and lower latency.
