Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

add two examples: quaint pooled + tokio-postgres with tls #439

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Weakky
Copy link
Contributor

@Weakky Weakky commented Apr 3, 2023

Overview

Two examples added: quaint pooled + tokio-postgres with TLS.

Observations so far: TLS is what adds most of the overhead compared to tokio-postgres without TLS.

Numbers are roughly:

  • Pooled: 700ms
  • Tokio-postgres with TLS: 650ms (among which connect_tls from tokio-postgres takes up to ~330ms)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant