Skip to content
프로젝트

bsrat-dev/webhook-reliability-lab

GitHub에서 보기

소개

Interactive webhook delivery testing platform with configurable failure modes, retry policies, and live monitoring

웹 및 앱 개발

이 수치를 측정하는 방법

What you can do

  • Simulated Receiver: Built-in webhook endpoint with configurable failure modes (timeouts, rate limits, intermittent errors)
  • Retry Policies: Exponential backoff, custom retry limits, and failure classification
  • Dead Letter Queue: Automatic failure isolation with bulk replay
  • Live Monitoring: Real-time event streaming and detailed attempt history

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Webhook Reliability Lab

Send webhooks to a built-in receiver, configure failure modes, and inspect every delivery attempt, retry, and dead-letter decision. A production-grade webhook delivery engine with durable PostgreSQL jobs, leased workers, and signed HTTP delivery.

Features

  • Simulated Receiver: Built-in webhook endpoint with configurable failure modes (timeouts, rate limits, intermittent errors)
  • Retry Policies: Exponential backoff, custom retry limits, and failure classification
  • Dead Letter Queue: Automatic failure isolation with bulk replay
  • Live Monitoring: Real-time event streaming and detailed attempt history
  • Simulation Lab: Run reproducible webhook delivery scenarios with presets
  • Analytics: Delivery success rates, latency percentiles, and failure patterns
  • Idempotency: Built-in deduplication with configurable key extraction

Quick Start

Docker (recommended):

cp .env.example .env
docker compose up --build

Open http://localhost:3000 and click Try it now.

Development Setup

Prerequisites: Docker (for Postgres), Python 3.13+, Node 22+, pnpm

cp .env.example .env
docker compose up -d db

# API (terminal 1)
cd services/api
python3.13 -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
pip install -r requirements-dev.txt
alembic upgrade head
uvicorn app.main:app --port 8000 --reload

# Worker (terminal 2)
cd services/api
source .venv/bin/activate  # Windows: .venv\Scripts\activate
python -m app.workers.run

# Web (terminal 3)
cd apps/web
pnpm install
pnpm dev

Access:

Testing

# API tests (requires database)
cd services/api
pytest -q

# Web type checking
cd apps/web
pnpm typecheck

# E2E tests
cd apps/web
pnpm test:e2e

Architecture

  • API: FastAPI with SQLAlchemy, PostgreSQL for persistence
  • Worker: Background job processor with lease-based concurrency control
  • Web: Next.js with real-time SSE updates

Delivery Semantics

Delivery is at-least-once. If a worker crashes after sending a request but before recording the result, the job's lease expires and the attempt is repeated. Duplicates are visible in attempt history. Receivers should implement idempotency.

License

MIT

관련 프로젝트 살펴보기

불러오는 중…