005QUASAREvent delivery infrastructure
/
005 / EVENT DELIVERY INFRASTRUCTURE

QUASAR

Signal infrastructure for product events.

QUASAR receives events from websites, applications and backend services, turns them into readable messages and delivers them to Telegram through routing rules. The product sends one JSON payload; the infrastructure handles the rest.

LIVESPRING BOOTPOSTGRESQLREDISTELEGRAM
quasar.ai-vai.com
SIGNAL CONSOLELIVE ROUTE
SOURCEdemo-apievent producer
QUASAR CORE/api/v2/ingest<50 ms ingest path
TELEGRAM#sales-demodelivered
19:42:08.102order.paidaccepted19:42:08.119route:sales-demomatched19:42:08.147telegram.send200 OK
01 / SYSTEM

One endpoint. Many signals.

Orders, leads, payments, errors and any other product events flow through one ingest contract. QUASAR separates the event itself from its destination and presentation.

01
INGEST APIreceive typed JSON
02
VALIDATEauth + source rules
03
ROUTERmatch event to route
04
TEMPLATEformat the signal
05
BOT DELIVERYTelegram API
06
ANALYTICStrack outcome
02 / LIVE PLAYGROUND

Send an event and follow its route.

A compact version of the real workflow: choose an event, send it and see the resulting signal.

EVENT BUILDERJSON
{
  "event": "order.paid",
  "project": "demo-project",
  "data": {
    "title": "Order #DEMO-1842 paid",
    "route": "#sales-demo"
  }
}
ROUTE TRACEREADY
01accepted by ingest—
02schema validated—
03matched #sales-demo—
04template rendered—
05telegram delivered—
QUASAR BOT
#sales-demo
order.paid

Order #DEMO-1842 paid

amount: 18 900 RUB

customer: user@example.com

source: checkout

just now · delivered by QUASAR
Waiting for event
03 / PRODUCT

Not notification code. A delivery system.

Notification logic no longer lives inside every application. QUASAR becomes an independent layer that can evolve without changing event producers.

01

One ingest endpoint

Products send structured events to one API contract instead of owning notification logic in every service.

02

Routes and destinations

Rules decide which event goes to which Telegram channel, group or personal chat.

03

Reusable templates

Payload fields become consistent human-readable messages without hardcoding copy in product code.

04

Bot delivery

Telegram bots handle the last mile while QUASAR owns routing, retries and message preparation.

05

Signal analytics

Event volume, delivery state and operational visibility stay in one control surface.

06

Infrastructure-first deployment

Spring Boot, PostgreSQL, Redis and Docker keep the system simple to operate and extend.

04 / PRODUCT SURFACES

A live interface, not a concept.

The case now uses patterns from the real Quasar product: dashboard, projects, push subscribers, template editing and project creation. Every value below is intentionally anonymized.

quasar / demo workspaceDEMO DATA

Overview

An anonymized production-style workspace.

482

Sent today

↗ demo
436

Payloads received

↗ demo
18

Active projects

↗ demo
2

Errors today

↗ demo
Notification delivery
7d14d30d
SentErrorsReceived
ProjectsAll →

Project Alphaalpha.example

Active

Project Betabeta.example

Active

Project Gammagamma.example

Off
Recent notificationsAll logs →
PROJECTSTATUSPAYLOADTIME
Project Alpha● Delivered{"event":"order.created","id":"DEMO-1042"}2m
Project Beta● Delivered{"event":"lead.created","source":"landing"}8m
Project Alpha● Delivered{"event":"payment.succeeded","amount":4900}24m
Visual system retained from the production interface.Names, domains, accounts and payloads replaced with demo data.
05 / ARCHITECTURE

The layer between product and Telegram.

QUASAR receives external HTTP traffic, persists configuration in PostgreSQL, uses Redis for fast runtime state and delivers final messages through the Telegram Bot API.

PRODUCTSweb / backend / jobs
→
QUASAR APISpring Boot
AUTHROUTESTEMPLATES
PostgreSQLRedis
→
TELEGRAMchannels / groups / chats
06 / TECHNOLOGY

The stack running in production.

The case describes the real operational layer of QUASAR, not an abstract architecture diagram.

Spring BootAPI / orchestration
PostgreSQL 15persistent configuration
Redis 7.2fast runtime state
Dockerisolated deployment
Telegram Botsdelivery surface
REST / JSONintegration contract
APPLICATION RUNTIMEDOCKER COMPOSEHTTPS REVERSE PROXYPRIVATE NETWORK
07 / DEVELOPER LAYER

Integration starts with one POST.

No SDK is required: any service capable of making an HTTP request can use QUASAR.

fast ingest route rules Telegram delivery
POST /api/v2/ingest
curl -X POST \
  https://quasar.ai-vai.com/api/v2/ingest \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json' \
  -d '{
    "event": "order.paid",
    "project": "demo-project",
    "data": {
      "orderId": "DEMO-1842",
      "amount": 18900
    }
  }'
08 / PRODUCT PRINCIPLE

An event should be emitted once.

The product reports what happened. QUASAR decides who needs to know, how the signal should look and where it should go. That is the system boundary.

OPEN QUASAR