We have 2 projects:
- https://github.com/alphagov/backdrop which is the current Python API for the Performance Platform. It's a couple of Flask apps.
- https://github.com/alphagov/performance-datastore which is a Go implementation of part of that API, plus a sketching area for me to define how I think the read API should look. It is currently a single Go binary, which supports zero-downtime redeployments via upstart.
https://github.com/alphagov/backdrop/tree/master/backdrop/write implements the existing write API.
The Go version is virtually identical on a feature basis, except it's faster :)
https://github.com/alphagov/backdrop/blob/master/backdrop/write/api.py#L111
https://github.com/alphagov/performance-datastore/blob/master/pkg/handlers/handlers.go#L50
https://github.com/alphagov/backdrop/blob/master/backdrop/write/api.py#L139
https://github.com/alphagov/performance-datastore/blob/master/pkg/handlers/handlers.go#L70