We've built Postgres driver for libraries 🫡
We didn't want to, but we had to:
▪︎ all major runtimes support(rip deno)
▪︎ tls/http/ws/dataapi transports
▪︎ data correctness(oh man...)
▪︎ native Effect
▪︎ explicit batch, pipeline, parallel apis
▪︎ bulkInsert, bulkUpdate, copyFrom
▪︎ metrics/telemetry
▪︎ for libraries - Drizzle, Kysely, Prisma, etc.
▪︎ effeciency and performance
▪︎ replication, backfills, snapshots
let's dive in 🧵
We've built Postgres driver for libraries 🫡
We didn't want to, but we had to:
▪︎ all major runtimes support(rip deno)
▪︎ tls/http/ws/dataapi transports
▪︎ data correctness(oh man...)
▪︎ native Effect
▪︎ explicit batch, pipeline, parallel apis
▪︎ bulkInsert, bulkUpdate, copyFrom
▪︎ metrics/telemetry
▪︎ for libraries - Drizzle, Kysely, Prisma, etc.
▪︎ effeciency and performance
▪︎ replication, backfills, snapshots
let's dive in 🧵
New benchmarks 🚀
we're now smoking GoLang, thanks to Bun and Node ofc
we're just minimising overhead
We run benchmarks on the same i3 Lenovo since Aug 2024
we went from 7.9k rps on Node 22 + Drizzle v0.33 to 23.9k rps on Bun 1.4.4 and drizzle today
We've been running our driver on internal projects for over 4 months so far, it powers drizzle studio, drizzle pulse and drizzle cdc
Give it a try with [email protected] and please share some feedback!
We are not here to rewrite everything in Rust, we're here to improve existing solutions, make them correct and fast!
Thank you ❤️