TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Fast PostgreSQL Driver for Node.js Written in TypeScript

3 pointsby mborchover 6 years ago

1 comment

mborchover 6 years ago
Hey HN. While the focus of this driver is not performance as such, a comparison can be found here:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;MagicStack&#x2F;pgbench&#x2F;pull&#x2F;2" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;MagicStack&#x2F;pgbench&#x2F;pull&#x2F;2</a><p>What&#x27;s more interesting for fans of type safety is that the driver uses PostgreSQL&#x27; extended query protocol to correctly process and encode query parameters to match the required type specification as returned by the database for a given query.<p>It uses binary mode only which also makes the codebase smaller and provides a significant increase in performance.