Glossary
Edge Deployment
Running the service where the people and the data are, instead of in a distant cloud region. Edge deployments trade central convenience for low latency, resilience when the link drops, and local control.
General definition
Edge Deployment places compute and storage at the periphery of the network, physically close to the devices, people or machines that generate and consume data. The “edge” ranges from a hyperscaler’s metro location, through a rack in a hospital or factory, down to a ruggedised box on a ship, a train or an oil platform. The opposite is a centralised deployment where every request travels to one or a few cloud regions. Edge is a spectrum, and most real systems are hybrid: local nodes handle the work that must be fast or must keep working, and a central system aggregates and manages them.
Reasons to deploy at the edge:
- Latency: a round trip to a distant region adds tens to hundreds of milliseconds; a local node answers in single digits, which matters for calls, control loops and interactive assistants
- Resilience: when the wide-area link fails (a ship at sea, a mine, a clinic on a poor connection) the local service keeps running and synchronises later
- Bandwidth: video, sensor and log data are processed locally and only summaries travel upstream
- Sovereignty and privacy: data that must not leave a site, a country or a patient’s care setting is processed where it is created (see on-premise)
The engineering costs are real: many small sites instead of one big one means fleet management, remote updates, local backups, hardware refresh and an answer for what happens when a node dies. The usual toolkit is containers on a small Linux host, a lightweight Kubernetes such as K3s or a Compose file for single nodes, pull-based configuration from a central repository, and local high availability where the site justifies it. Cloud providers sell packaged versions of this (AWS Outposts and Local Zones, Azure Stack Edge, Google Distributed Cloud); the ETSI Multi-access Edge Computing (MEC) standards cover the telecom flavour. For AI, edge deployment means offline AI with a local model sized to the hardware on site: a small quantised model on a CPU box, a mid-size model if the site has a GPU.
In the Ethora ecosystem
Ethora’s self-hosted stack is small enough for an edge node. The Docker Compose install runs on any Docker host, there is a single-file compose variant, and a PUBLIC_URL single-address mode for LAN and home-server setups where the node is reached by one address rather than a public domain; the Helm chart covers sites that run Kubernetes. Each site then carries its own chat server (ejabberd), API, database and MinIO file store, so messaging between people on the site keeps working when the uplink does not.
AI agents follow the same pattern: the AI service talks to any OpenAI-compatible endpoint, so a site can run Ollama with a small model on the same box. The measured baseline is a 3B model answering short replies in 6 to 8 seconds on a 4 vCPU, 8 GB CPU-only VM; a GPU on site changes that picture. Two things to plan for: push notifications through FCM and APNs need an internet path, so a disconnected site relies on the client’s live connection, and multi-site high availability is your design, not a built-in feature. The Docker Compose entry covers the single-node install.