Regional Sovereignty

System Architecture

Built for the unique infrastructure landscape of Africa. Afribase utilizes a distributed mesh of regional nodes across Lagos, Nairobi, and Johannesburg to ensure data residency and sub-100ms latency for African businesses.

Component Stack

PostgreSQL

The core relational engine. We provide a dedicated instance for every project, ensuring zero resource contention and maximum performance.

GoTrue

Our identity and user management server. It handles JWT issuance, provider integration, and user metadata synchronization.

PostgREST

Automatically turns your PostgreSQL schema into a secure, RESTful API. No backend code required to access your data.

Realtime Server

A globally distributed Elixir server cluster that manages WebSocket connections and listens to Postgres WAL events.

Request Lifecycle

01

Client Request

The frontend application initiates a request using the Afribase SDK, including a signed JWT for authentication.
02

API Gateway validation

Our gateway validates the token and routes the request to the appropriate project infrastructure node.
03

Database Policy Check

PostgreSQL evaluates the specific Row Level Security (RLS) policies for the requesting user identity.
04

Secure Response

Only authorized data is returned to the client gateway and forwarded back to the application.

Open Source Promise

Every component in the Afribase stack is open-source. We believe that critical cloud infrastructure should be transparent and community-driven. You can self-host the entire stack or use our managed cloud.

© 2026 Afribase Cloud Infrastructure. Produced by Altris Product Systems.