Skip to main content

Operations Overview

This section covers production deployment, database administration, and scrape safety operations.

GuideDescription
DeploymentProduction Docker setup, scaling, health checks
Database RunbookBackup, restore, integrity checks, repair procedures
Scrape Safety RunbookRate limiting, cooldowns, CAPTCHA handling
arXiv RunbookarXiv rate limits, cache tuning, query patterns

Health Check

The app exposes GET /healthz for container orchestration:

curl -fsS http://localhost:8000/healthz

Docker Compose healthcheck config:

  • Interval: 10s
  • Timeout: 5s
  • Retries: 12