正在加载视频...

视频加载失败

Introducing PGSync 🐘 Real-time PostgreSQL replication. FREE. OSS Built in Rust. 🦀 Postgres 16 / 17 / 18. No extensions. No triggers. No complex setup. → snapshot → replicate → stream changes → track WAL → recover from crashes → resume automatically → keep databases in sync ~15 MB...

135,020 次观看 • 27 天前 •via X (Twitter)

22 条评论

pgrun.dev 的头像
pgrun.dev27 天前

Built in Rust. Fast, lightweight, reliable. 🦀

pgrun.dev 的头像
pgrun.dev27 天前

Zero gaps between snapshot and streaming.

alex shapalov 的头像
alex shapalov27 天前

yesss

ActiveRabbit 的头像
ActiveRabbit27 天前

Next up: data masking + PGX integration. 🚀

alex shapalov 的头像
alex shapalov27 天前

Data masking is a game changer.

om lahorey 的头像
om lahorey27 天前

no triggers is what sold me how does it handle schema changes mid stream

alex shapalov 的头像
alex shapalov27 天前

A good question!

Dev 🦀 的头像
Dev 🦀27 天前

Но как это отличается от встроенной в PostgreSQL логической репликации?

alex shapalov 的头像
alex shapalov27 天前

PGSync is a standalone Rust engine with automated safety checks, crash recovery, WAL monitoring, and ~15 MB RAM usage.

Osahenrumwen Aigbogun 的头像
Osahenrumwen Aigbogun27 天前

Will save this for later, looks interesting

alex shapalov 的头像
alex shapalov27 天前

Sure, lmk your feedback!

HEISGIFT 的头像
HEISGIFT27 天前

no extensions no triggers is the line that sells it setup is where most replication tools lose people

alex shapalov 的头像
alex shapalov27 天前

no setup, just use it

alex shapalov 的头像
alex shapalov27 天前

v1.1 cargo install pgsync

Security Consult with Michael 的头像
Security Consult with Michael27 天前

Nice, no triggers is a big plus. A feature worth having early: an allow-list of tables and columns to sync, so a copy to analytics doesn't quietly carry password hashes and personal data along with everything else.

alex shapalov 的头像
alex shapalov27 天前

100% agree! Table and column allow-lists are on the roadmap, along with PGFake integration for data masking. 🔥

Security Consult with Michael 的头像
Security Consult with Michael27 天前

Allow-lists plus masking covers it nicely. That combo is what lets a team say yes to syncing prod data without a long meeting first. Will keep an eye out for the release 🙌🏾

alex shapalov 的头像
alex shapalov27 天前

yessss

NinjaX 的头像
NinjaX27 天前

Lol just have you ai write a script

alex shapalov 的头像
alex shapalov27 天前

sure,. open for contribution!

Jonatan Orozco 的头像
Jonatan Orozco27 天前

can it sync while the replica is being in use?

alex shapalov 的头像
alex shapalov27 天前

Yes! You can read and query the replica while PGSync streams changes in the background.

相关视频