by lfittl on 5/7/25, 2:57 PM with 154 comments
by drdrek on 5/8/25, 7:52 AM
by the8472 on 5/7/25, 4:11 PM
by nu11ptr on 5/7/25, 4:03 PM
I know Windows has IOCP and also now an IORing implementation of its own (Less familiar with macOS capabilities other than POSIX AIO).
https://learn.microsoft.com/en-us/windows/win32/api/ioringap...
Update: Most of the comments below seem to be missing the fact that Windows now also has an IORing implementation, as I mentioned above. Comparison article here:
https://windows-internals.com/ioring-vs-io_uring-a-compariso...
by kev009 on 5/7/25, 7:31 PM
by skeptrune on 5/7/25, 4:18 PM
by Tostino on 5/7/25, 4:30 PM
Looking forward to the other places that async I/O can be used in future Postgres releases now that the groundwork is done.
by shayonj on 5/7/25, 4:22 PM
by niux on 5/7/25, 4:04 PM
For security, I implemented TailScale which adds only ~5ms of latency while completely eliminating public network exposure - a worthwhile tradeoff for the significant security benefits.
My optimization approach includes:
- Workload-specific configuration generated via PGTune (https://pgtune.leopard.in.ua/)
- Real-time performance monitoring with PgHero for identifying bottlenecks
- Automated VACUUM ANALYZE operations scheduled via pgcron targeting write-heavy tables, which prevents performance degradation and helps me sleep soundly
- A custom CLI utility I built for ZSTD-compressed backups that achieves impressive compression ratios while maintaining high throughput, with automatic S3 uploading: https://github.com/overflowy/pgbackup
This setup has been remarkably stable and performant, handling our workloads with substantial headroom for growth.
by martinald on 5/7/25, 4:23 PM
I always do wonder how much "arbitrary" cloud limits on things like this cause so many issues. I'm sure that async IO is very helpful anyway, but I bet on a 1million IOPS NVMe it is nowhere near as important.
We're effectively optimising critical infrastructure tech for ~2010 hardware because that's when big cloud got going and there has been so few price reductions on things since then vs the underlying hardware costs.
Obviously a consumer NVMe is not "enterprise" but my point is we are 3+ orders of magnitude off performance on cheap consumer hardware vs very expensive 'enterprise' AWS/big cloud costs.
by p_ing on 5/7/25, 4:52 PM
by song on 5/7/25, 5:53 PM
by pseudopersonal on 5/7/25, 4:16 PM
by rks404 on 5/8/25, 4:48 PM
by cryptonector on 5/7/25, 11:27 PM
by dbbk on 5/7/25, 9:34 PM
by WhyNotHugo on 5/7/25, 9:22 PM
by gitroom on 5/7/25, 9:40 PM