Skip to content
ferrum-webhooksPublic

About

No description, website, or topics provided.

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Ferrum documentation

Ferrum delivers webhooks reliably: you send it an event, it makes sure each registered receiver gets it, retrying when things fail and keeping a log of every attempt.

Where to start

I want to… Read
run it and try it quickstart
understand how it works architecture
read the stories behind the design, with numbers engineering notes
use the API or write a receiver API
run it in production-like conditions deployment, configuration
fix a problem operations

All documents

Document What it covers
quickstart install, start, and a guided tour
architecture the parts, how an event flows, what is guaranteed, known limits
data model the database tables and the life of a delivery
API every endpoint, and what a receiver gets
configuration every setting
security what is protected and what isn't
observability logs, metrics, traces
deployment Kubernetes, Helm, secrets, health checks
operations what to check and what to do when something breaks
testing the tests and how to run them
decisions the main design choices and why
engineering notes nine write-ups: what went wrong, what was measured
data/ the raw numbers behind the write-ups

Future improvements

Ferrum is complete as it stands. These are the things I would do next, roughly in order of value, and each is a real gap listed in architecture or security:

  • Prove the Kubernetes work on a real cluster. The Helm chart, security contexts and network policies are checked offline (kubeconform, helm lint, the manifest checker) but have never been installed. Run them on a cluster with an enforcing network plugin (Calico or Cilium) and add a reachability test.
  • Secrets and transport security. Redis has no password, nothing is encrypted between components, and webhook signing secrets are plaintext in Postgres. Next: a secrets manager, Redis auth and TLS, mutual TLS between services, and signing secrets encrypted at rest.
  • Clean up credentials in git history. One early commit in infra contains a development password. Rotate it and rewrite history.
  • Supply-chain checks in CI. Image scanning (Trivy), pip-audit, and pinning third-party images by digest.
  • Close the DNS-rebinding window. Connect to the already-validated IP, or force all egress through a filtering proxy.
  • Service-level objectives and alerts. Turn the existing metrics into SLOs with burn-rate alerts; add tail sampling so errors and slow traces are always kept, and a durable trace backend instead of in-memory Jaeger.
  • Failure injection under load. The crash cases are tested one at a time. A whole-system test that randomly kills components while load runs is the natural next layer.
  • Per-endpoint protection. A concurrency cap and circuit breaker per receiver, so one slow customer cannot delay others in a batch.
  • Scale beyond one database and one Redis. Read replicas, backups and restore drills first; then a durable, replayable log (such as Kafka) in place of the Redis stream, and multi-region operation if the traffic ever justifies it. The outbox is already the right producer-side pattern for both.
  • GitOps-style delivery. Declarative, pull-based deploys of the chart.

About

No description, website, or topics provided.

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages