Platform
Self-Hosting

Self-Hosting

Yes — and it maps cleanly onto an existing homelab.

Must run 24/7

The indexer and oracle watcher must run 24/7 at low latency, because this product operates in seconds, not minutes.

ComponentRequirement
Uniswap event indexerGo process, low latency, must not miss a block
Oracle staleness watcherGo process, per-second tick
PostgreSQL + TimescaleDB + pgvectorOne instance, three jobs: time-series, relational, vector retrieval
RedisVerdict cache, second-level TTL
Cron workerOvernight Gap Report, feed generation, threshold recalibration
Halt pollerPolls exchange halt feeds during market hours
RiskFeed publisherOn-chain score publication

All of the above fits in one Go binary, one Postgres, and one Redis. Public feeds are served directly from that same binary — no separate static host required.

Not needed yet

  • Dedicated RPC node — Alchemy suffices until volume justifies the cost
  • Local LLM inference — the workload is bursty and latency-sensitive; API inference is cheaper and faster until there is constant volume
  • Separate vector databasepgvector on the existing Postgres is enough
  • Kubernetes — one binary; systemd is sufficient

What adds significant load

The LP Toxicity Dashboard requires per-swap attribution against the oracle mid at execution time. That pushes storage and CPU well beyond what the core risk engine needs.