frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

3•saisrirampur•1y ago
Loved the discussion on this hn post few months ago on Postgres for everything. https://news.ycombinator.com/item?id=42347606 I thought I'd share my thoughts over a separate post. I see a bunch of comments: just don’t do it! I’m glad this is becoming mainstream, and people are realizing that Postgres for everything doesn’t work. Don’t get me wrong—I’m a huge Postgres proponent and have spent 10 years helping customers implement it. However, I’m a strong believer in using Postgres for what it’s designed for in first-place. Postgres was designed as a row-based OLTP database, with over 30 years of effort dedicated to making it robust for that use case.

I know there are many extensions attempting to make Postgres support other use cases, such as analytics, queues, and more. Keep in mind that these extensions are relatively recent and aim to retrofit new capabilities onto a database primarily designed for transactional workloads. It’s like adding an F1 car engine to a Toyota Camry — will that work?

Extensions also have many issues—they are not fully Postgres-compatible. In Citus, for example, we added support for the COPY command 4 years into the company, and chasing SQL coverage was a daily challenge for 10 years. Unable to use the full capabilities of Postgres and having to work around numerous unsupported features defeats the purpose of being a Postgres extension. This was a common feedback across Citus customers - when you say Postgres extension, customers are looking for something that supports all Postgres features! Side note for the Postgres extension companies: Chasing Postgres compatibility and world class performance are ginormous problems and are hard to achieve without laser focus on each of them.

On the other hand, you have purpose-built alternatives like ClickHouse, Snowflake for analytics, Redis for caching, and Kafka for queues. These technologies have benefited from decades of development, laser-focused on supporting specific use cases. As a result, they are highly efficient for their intended purposes.

I often hear that these Postgres extensions are expanding the boundaries of what Postgres can do. While I partly agree, I question the extent to which these boundaries are truly being expanded. In this era of AI, where data is growing exponentially, handling scale is critical for any technology. These boundaries will likely be broken very quickly - A data point here is that in my day-to-day now, I'm seeing AI companies use purpose-built technologies like ClickHouse way sooner. A few years ago, it was a Series A or Series B company that would consider a purpose-built database, now it is Seed stage companies. This is because the amount of data / users to be handled has grown tremendously from the get go and companies are preferring solutions that scale with their workload.

Also I keep hearing these Postgres extension companies say Zero ETL in their positioning, which I don't agree. Let’s take a search or an analytics extension where you want to run analytics on your transactional data. You either need to manage a cron to continuously offload the transactional data to the storage format of the extension or if the extension supports logical replication (not all do), you need to have logical replication setup. And logical replication is ETL! It is painful to manage logical replication - fun fact, at PeerDB, Postgres was the second largest target connector as logical replication was painful to manage, at scale. And yes, you could have capabilities which does the conversion in the background, but that is again a ginormous problem, I think only a few fully fledged databases like Vertica have this feature.

TL;DR: Please think carefully before choosing the right technology as you scale. Cramming everything into Postgres might not be the best approach for scaling your business.

Comments

gjvc•1y ago
you do not need to use anything/everything you find in there, or anywhere for that matter.
XCSme•1y ago
Most use-cases and people/companies don't have the traffic amount where scaling matters that much, so performance gains will be negligible (or even worse) when using a more complex "specialized" stack.

Yes, if you have a large team, building for scale in a VC-funded company, go for dedicated stacks, but if you are just building a start-up where moving fast is important and architecture quickly changes, any DB will do and will not be the bottleneck.

I use Postgres to cache some responses from APIs (max 100 different documents per month) where latency doesn't matter, so using Redis instead would provide no benefit (will actually make it worse, due to its "worse" persistency and third-party integrations capabilities)

Nvidia Eyes Software Revenue with a $2k per GPU Yearly Figure from Huang

https://www.techpowerup.com/354113/nvidia-eyes-software-revenue-with-a-usd-2-000-per-gpu-yearly-f...
1•theanonymousone•37s ago•0 comments

RTX 4000 Pro Blackwell SFF performance hacks

https://piszczek.pl/blog/rtx-pro-4000-blackwell-sff-120w-qwen-benchmark
1•jacquesm•2m ago•0 comments

A tiny app for C# dotnet design Window Form

https://github.com/macauhome/winform-designer
1•macauhome•2m ago•0 comments

Thiel's leaked lectures on the end of the world

https://www.theverge.com/tech/1014252/peter-thiel-antichrist-lectures-analysis
1•izhak•2m ago•0 comments

Show HN: pw-repl – A Playwright-powered REPL for you and your agents to share

https://github.com/arcanemachine/pw-repl
1•arcanemachiner•3m ago•0 comments

Notes on loneliness (Tommy Dixon)

https://www.tommydixon.ca/p/notes-on-loneliness
1•xen_relay•5m ago•0 comments

I translated North Korean pop into American [video]

https://www.youtube.com/watch?v=nlSSyPXQ2i4
1•nxobject•6m ago•0 comments

HackDigest: Daily three-sentence news summaries in Korean or English

https://minjungsung.github.io/hackdigest/
1•minjungsung1994•6m ago•0 comments

China's tech giants are paying 1M yuan for a new kind of AI engineer

https://www.scmp.com/tech/tech-trends/article/3371925/chinas-tech-giants-are-paying-1-million-yua...
2•01-_-•13m ago•0 comments

Peter Thiel says Apple has done 'nothing new' after Steve Jobs

https://www.businessinsider.com/peter-thiel-apple-steve-jobs-tim-cook-innovation-iphone-duo-2026-10
1•01-_-•14m ago•0 comments

MustardOS is custom firmware (CFW) for handheld gaming devices

https://muos.dev/
1•fork-bomber•16m ago•0 comments

PyMagic a tiny DSL to write models/specs in Python

https://pypi.org/project/pymagic-models/
1•caotic123•20m ago•1 comments

Slavoj ŽIžek: Only Desperation Can Save Us from Ecology, AI, and War [video]

https://www.youtube.com/watch?v=_0LSqRzpxhU
1•asilis•22m ago•0 comments

Blackwell Brings NUMA Back, Inside One GPU

https://vincentzed.com/writing/blackwell-numa
1•frostbyte7•23m ago•0 comments

Show HN: Hazzel – A terminal coding harness that stays small on purpose

https://github.com/mukundzha/hazzel
1•mukundjha1•23m ago•0 comments

Show HN: Tabverse – a free, open-source, with self-hostable server Workona clone

1•liyu1981au•27m ago•0 comments

Ask HN: Did crates.io stop processing new crate publishes?

1•davvid•28m ago•0 comments

Aw1-breaker – Sub-millisecond AST circuit breaker for AI agent tool calls

1•MvikVela•29m ago•0 comments

Data-Oriented Design in Yuku's Parser

https://www.arshad.fyi/writings/data-oriented-design-in-yukus-parser
1•fagnerbrack•30m ago•0 comments

Raspberry Pi Pico W Irrigation – Telegram and Google Calendar All on Pico

https://github.com/AdrianCX/picohive-irrigation
2•AdrianCX•33m ago•0 comments

Rosettes and Other Hidden Traces of Hamburg's Tram

https://alsterrunde.com/rosettes-and-other-hidden-traces-of-hamburgs-tram/
1•mertbio•37m ago•0 comments

A cool 3D interactive demo of neuroevolution with supermario

https://github.com/vahmoh/NeuroMario
2•gbays3•39m ago•0 comments

Science could lift Italy's sinking cities back up

https://www.repubblica.it/en/europe/news/2026/10/26/news/subsidence_in_italy_venice_and_ravenna_a...
2•simonebrunozzi•43m ago•0 comments

Show HN: Skill-spotter, auto detect agent prompts and commands to create skills

https://github.com/ykisana/skill-spotter
2•ykisana•43m ago•0 comments

A tiny Python library/DSL to construct Python formal models

https://github.com/caotic123/PyMagic/
1•caotic123•47m ago•1 comments

Eulogy for the Software Engineer

https://www.youtube.com/watch?v=uuKOXGVIP8I
1•firattamurcw•49m ago•0 comments

When a glibc update accidentally breaks Chromium's audio (2021)

https://refi64.dev/posts/chromium-audio-break.html
2•dverlaeckt80•50m ago•0 comments

StreetComplete iOS Release

https://github.com/streetcomplete/StreetComplete/releases
1•Tomte•50m ago•0 comments

Handwriting and Route: On What Slips Away When Art Is Copied

https://medium.com/@smoking2man/handwriting-and-route-on-what-slips-away-when-art-is-copied-7cf6b...
1•Aldus551•53m ago•0 comments

Notational Velocity and nvALT got updates

https://www.rubenerd.au/notational-velocity-and-nvalt-got-updates/
1•Tomte•54m ago•0 comments