SimpleNS LogoDocs

Introduction

SimpleNS is a self-hosted notification orchestration engine that manages delivery workflows while delegating actual sending to plugins.


What is SimpleNS?

SimpleNS (Simple Notification System) solves the notification infrastructure problem by providing a robust, scalable, and extensible foundation for multi-channel notification delivery. Unlike cloud-based notification services that lock you into proprietary APIs and pricing models, SimpleNS runs entirely in your infrastructure, giving you complete control.

Core Philosophy

Orchestration, not delivery

SimpleNS handles the complex orchestration logic (retries, rate limiting, crash recovery) while plugins handle the simple delivery logic.

  • Plugin-based architecture: Swap notification providers without changing application code
  • Self-hosted: Run on your infrastructure, maintain data sovereignty
  • Production-ready: Built-in observability, horizontal scaling, and fault tolerance

Key Features

Plugin-Based Delivery

Delegate sending to any provider plugin. Install community plugins or build your own using the SimpleNS SDK.

Exponential Backoff Retries

Automatic retry with increasing delays for failed deliveries. Configurable retry limits and backoff strategies.

Crash Recovery

Recovery service detects orphaned and stuck notifications, creates alerts, and enables manual intervention.

Scheduled Delivery

Queue notifications for future delivery using Redis-backed delay queues. Perfect for reminders and campaigns.

Horizontal Scaling

Scale processors independently per channel. Add more workers as your volume grows without downtime.

Multi-Channel Support

Send notifications across multiple channels (Email, WhatsApp, SMS, Push) in a single API request.

Rate Limiting

Per-provider token bucket algorithm prevents hitting provider rate limits while maximizing throughput.

Webhook Callbacks

Real-time delivery status updates sent to your application via webhooks. Track every notification's journey.

Admin Dashboard

Modern Next.js dashboard for monitoring, searching, retrying failed notifications, and managing alerts.

Observability

Centralized logging with Grafana + Loki integration. Query and visualize logs across all services.


Why SimpleNS?

ProblemSimpleNS Solution
Locked into a single notification providerPlugin architecture — swap providers without code changes
Notifications fail silentlyExponential backoff retries with configurable limits
Crashes leave messages stuckCrash recovery service detects & rescues orphaned notifications
Single point of failureHorizontally scalable workers and processors
Complex scheduling logicBuilt-in scheduled delivery with Redis-backed queues
Different APIs for each channelUnified API for all notification channels

Use Cases


Architecture Overview

SimpleNS is built on a modern, event-driven architecture:

Core Services

  • API Server: REST API for notification ingestion
  • Background Worker: Outbox pattern for reliable message publishing
  • Unified Processor: Plugin-based delivery with rate limiting and retries
  • Delayed Processor: Scheduled notification handling
  • Recovery Service: Detects and recovers stuck notifications
  • Admin Dashboard: Web-based monitoring and management

Infrastructure:

  • MongoDB for persistent storage
  • Kafka for event streaming
  • Redis for caching and delay queues
  • Loki + Grafana for logging and visualization

For detailed architecture information, see Architecture.


Getting Started

Ready to get started? Check out our Getting Started Guide to have SimpleNS running in 5 minutes.

Prerequisites

Make sure you have Docker and Docker Compose installed on your system before proceeding.


Community & Support

On this page