neondatabase / neon

Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.
https://neon.tech
Apache License 2.0
14.48k stars 419 forks source link

proxy: skip 1rtt during auth (experiment) #8139

Closed conradludgate closed 3 months ago

conradludgate commented 3 months ago

Problem

postgres authentication to compute is slow. might save a few ms by skipping 1 round trip. We know we will use SCRAM-SHA-256, so there's no point of waiting for postgres to tell us.

Summary of changes

Checklist before requesting a review

Checklist before merging

github-actions[bot] commented 3 months ago

3228 tests run: 2943 passed, 156 failed, 129 skipped (full report)


Failures on Postgres 16

Test coverage report is not available

The comment gets automatically updated with the latest test results
6062cd180c5b714882aabe104b35ab725b6a59bc at 2024-06-24T08:55:07.286Z :recycle:
conradludgate commented 3 months ago

no measurable difference in staging.