10-100 Times Higher Latency With Distributed Postgres | Scaling Postgres 298

  Рет қаралды 722

Scaling Postgres

Scaling Postgres

Күн бұрын

To get the show notes as well as get notified of new episodes, visit:
www.scalingpostgres.com/episo...
In this episode of Scaling Postgres, we discuss how distributed Postgres solutions can result in 10-100 times higher latency, building incremental backup, DBMS of the Year and understanding explain.
Want to learn more about Postgres performance?
Join my FREE mini-course called the PostgreSQL Performance Starter Kit here: www.scalingpostgres.com/cours...
Timestamps:
00:00 - Intro
00:14 - An Overview of Distributed PostgreSQL Architectures
09:07 - Incremental Backup: What To Copy?
12:56 - Incremental Backups: Evergreen and Other Use Cases
13:56 - Waiting for PostgreSQL 17 - Add support for incremental backup.
14:17 - PostgreSQL is the DBMS of the Year 2023
14:43 - EXPLAIN
15:03 - Create an AI Expert With Open Source Tools and pgvector
15:51 - Best pg_dump compression settings for Postgres in 2024
17:24 - My PostgreSQL wishlist
18:39 - Remote Ruby - Unleashing the Power of Postgres with Andrew Atkinson
18:55 - The Rails Changelog - #014: PostgreSQL for Rails Developers with Andrew Atkinson
19:02 - Outro
#postgres #postgresq

Пікірлер: 8
@andatki
@andatki 6 ай бұрын
Thanks for mentioning the book and the podcast episodes Creston! Appreciate it.
@ScalingPostgres
@ScalingPostgres 5 ай бұрын
You bet!
@professortrog7742
@professortrog7742 6 ай бұрын
If you are using external tooling for the zstd compression, the you can compare oranges to oranges by using pigz for multithreaded gzip compression.
@ScalingPostgres
@ScalingPostgres 6 ай бұрын
For the use case I discussed, we were using pigz and moved to zstd since it outperformed it by speed and size.
@professortrog7742
@professortrog7742 6 ай бұрын
@@ScalingPostgres nice to know, thanks 👍🏻
@smyrnian_
@smyrnian_ 6 ай бұрын
Re. distributed options, I am designing an eLearning system that is distributed to 3 regions (US/EU/AU) where courses are always designed in a single region so they are only distributed across regions for faster local reads, but writes to a course by learners can occur in any region but learners will always write to their own region so there shouldn't be any row-level conflicts across regions. I figure eventual consistency via logical replication from each region to the other two regions would be ok in this use case.Thoughts?
@ScalingPostgres
@ScalingPostgres 6 ай бұрын
This sounds like a successful use case for using an active-active solution. If constructed as you describe and with care, you should be able to avoid replication conflicts between regions.
@DylanYoung
@DylanYoung 5 ай бұрын
The issue when eventual consistency in that case is that you need to make sure that any reads following writes go to the region that takes the writes (that or you need to merge your local data with the not-yet-consistent region you're reading from).
Postgres In 2024 | Scaling Postgres 297
20:39
Scaling Postgres
Рет қаралды 813
Computer Networking Full Course - OSI Model Deep Dive with Real Life Examples
4:06:56
Iron Chin ✅ Isaih made this look too easy
00:13
Power Slap
Рет қаралды 29 МЛН
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 31 МЛН
Зачем он туда залез?
00:25
Vlad Samokatchik
Рет қаралды 3,2 МЛН
Scale Through Sharding | Scaling Postgres 308
18:16
Scaling Postgres
Рет қаралды 729
Monthly Maintenance: Keep your NAS running smoothly
24:58
SpaceRex
Рет қаралды 15 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 253 М.
100 TB and Beyond! | Scaling Postgres 320
17:33
Scaling Postgres
Рет қаралды 923
Faster Paging? | Scaling Postgres 325
20:08
Scaling Postgres
Рет қаралды 629
Hacking On Postgres is Hard! | Scaling Postgres 315
19:32
Scaling Postgres
Рет қаралды 1 М.
Iron Chin ✅ Isaih made this look too easy
00:13
Power Slap
Рет қаралды 29 МЛН