Skip to content

Introduction

The Simple Platform is architected as a distributed system of highly specialized, event-driven microservices. This design ensures massive scalability, high availability, and strict security isolation, allowing the platform to handle enterprise-grade workloads with ease.

High-Level Architecture

At its core, the platform is a collection of services that work in concert to provide a unified, seamless experience. Each service has a distinct responsibility, from handling user identity to executing business logic and persisting data.

Simple Platform Architecture

Core Services

Each component in the diagram is a standalone service with a specific, well-defined role.

  • Identity Service The security gatekeeper of the platform. It handles all authentication and authorization, issuing tenant-aware JSON Web Tokens (JWTs) to secure every API request.

  • Metadata Service The platform's control plane. It manages the lifecycle of tenants, provisions their isolated databases, and maintains core system configuration.

  • Data API Gateway The powerful engine for all data interactions. This service exposes the unified GraphQL API and contains our proprietary GraphQL-to-SQL compiler. It translates every query and mutation into highly optimized, secure SQL, abstracting away all database complexity from the developer.

  • Trigger Service The central nervous system of the platform. It listens for events from various sources — database changes, scheduled times, incoming webhooks — and triggers the appropriate business logic in response.

  • Logic Runtime The secure compute layer where all custom business logic executes. It runs Actions written in Go or TypeScript within a high-performance, sandboxed WebAssembly (WASM) environment.

Next Step

Now that you have a map of the services, let's trace a request through the system to see how they all work together.

The Lifecycle of a Request