Skip to content

Plan: Continuous perf testing #11

@miekg

Description

@miekg

Continous performance testing for CoreDNS

Setup

drone.coredns.io (Packet machine) runs webhook behind a Caddy server. Caddy is used for Let's Encrypt TLS certs and only proxies.

Further more mbench is running to collect performance data (go test -bench=. output) and convert into prometheus metrics.

Prometheus is running locally, scrapping mbench.

Grafana is running locally displaying graphs from Prometheus.

Of all these things, only Caddy and mbench are not installed from the Debian repos.

Integration with Github

Webhook setup on github.com point to drone.io port.

Trigger a build from Github

On a PR add a comment: @mbench OK ..... Only the OK is needed. Only some people
can trigger these.

Trigger locally

Send a REST request to another endpoint (blocks everything execpt ::1 and 127.0.0.1).

Master branch

A local cron job trigger the unauthenticated local endpoint every 30 minutes.

Future

  • Each middleware should have more benchmarks
  • Publish this data somewhere?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions