frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

3•saisrirampur•7mo 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•7mo ago
you do not need to use anything/everything you find in there, or anywhere for that matter.
XCSme•7mo 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)

The Algebra of Loans in Rust

https://nadrieril.github.io/blog/2025/12/21/the-algebra-of-loans-in-rust.html
1•g0xA52A2A•1m ago•0 comments

Show HN: ChatGPT Wrapped – Your year with ChatGPT, visualized

https://gptwrapped.sanjeed.in
1•sanjeed•2m ago•0 comments

Mail2github: Send Email and create files in GitHub from mail content

https://github.com/ulrischa/mail2github
1•ulrischa•3m ago•0 comments

I scaled SSE beyond 28k connections (and the debugging process)

https://blog.pranshu-raj.me/posts/scaling-sse-1m-connections/
1•pranshu-raj-211•3m ago•1 comments

Plugdata – A visual programming environment for audio experimentation

https://plugdata.org
1•hresvelgr•3m ago•0 comments

When the Finder suffers premature ejection: a longstanding bug

https://eclecticlight.co/2025/12/22/when-the-finder-suffers-premature-ejection-a-longstanding-bug/
1•ingve•5m ago•0 comments

Bloom: an open source tool for automated behavioral evaluations

https://www.anthropic.com/research/bloom
1•gangtao•6m ago•0 comments

Chipwrecked

https://www.theverge.com/ai-artificial-intelligence/848988/nvidia-chip-loans-coreweave-gpu-debt-a...
1•zerosizedweasle•7m ago•0 comments

Solo founder here – shipped after months of grinding. Thoughts?

1•innovalabs•7m ago•1 comments

Forecasting the Present in Developing Economies

https://www.imf.org/en/publications/fandd/issues/2025/12/forecasting-the-present-in-developing-ec...
1•rbanffy•7m ago•0 comments

The Underappreciated UX of the ChatGPT Mobile Scroll Behavior

https://thomasburgess.dev/Blog/The+Underappreciated+UX+of+the+ChatGPT+Mobile+Scroll+Behavior
1•Ninjinka•7m ago•0 comments

Introducing: Reflections (Where Frameworks Are Born)

https://cookingdata.substack.com/p/data-teams-decision-first-framework
1•avivby•8m ago•0 comments

Team's "Wrapped 2025" to Increase Velocity

https://velocitycurve.substack.com/p/teams-wrapped-2025-to-increase-velocity
1•avivby•9m ago•0 comments

AI Means the End of Entry-Level Jobs

https://www.wsj.com/opinion/ai-means-the-end-of-entry-level-jobs-6b268661
2•apparent•9m ago•1 comments

Researchers identify gene that calms the mind and improves attention in mice

https://www.rockefeller.edu/news/38822-researchers-identify-gene-that-calms-the-mind-and-improves...
1•_____k•9m ago•0 comments

Doublespeak: In-Context Representation Hijacking

https://mentaleap.ai/doublespeak/
1•surprisetalk•10m ago•0 comments

Show HN: MindfulBoo – open-source mindfulness iOS app

https://apps.apple.com/gr/app/mindfulboo/id6748706497
1•twelvechess•10m ago•0 comments

Things Developers Want from Their Agentic IDEs in 2025

https://redmonk.com/kholterhoff/2025/12/22/10-things-developers-want-from-their-agentic-ides-in-2...
1•mooreds•10m ago•0 comments

Early influences of photography on art – Part 1

https://www.artinsociety.com/pt-1-initial-impacts.html
1•breppp•10m ago•0 comments

The Illustrated Transformer

https://jalammar.github.io/illustrated-transformer/
5•auraham•10m ago•0 comments

I stayed in a $40 capsule hotel (London)

https://www.cnbc.com/2025/12/20/zedwell-capsule-hotel-i-stayed-in-a-40-dollar-capsule-hotel-in-lo...
2•fcpguru•12m ago•1 comments

A third path to explain consciousness: Biological computationalism

https://phys.org/news/2025-12-path-consciousness-biological.html
1•rolph•12m ago•0 comments

Eilmeldung – A TUI RSS Reader

https://github.com/christo-auer/eilmeldung
1•osdf•12m ago•1 comments

Training the Idea Muscle

https://sfalexandria.com/posts/rileys-ideas/
1•gwintrob•13m ago•0 comments

Activist group says it has scraped 86M music files from Spotify

https://www.theguardian.com/technology/2025/dec/22/activist-group-says-it-has-scraped-86m-music-f...
2•n1b0m•14m ago•0 comments

Waymo Safety Impact

https://waymo.com/safety/impact/
2•swatson741•15m ago•0 comments

Show HN: File-based persistent memory for LLM assistants

1•JohannesGlaser•16m ago•0 comments

Why the Hell Is There Structure?

https://number-garden.netlify.app/?m
1•cpuXguy•17m ago•1 comments

Asciidoctor

https://asciidoctor.org/
1•Tomte•19m ago•0 comments

State regulators vote to keep utility profits high angering customers across CA

https://www.latimes.com/environment/story/2025-12-18/state-regulators-vote-to-keep-utility-profit...
2•connor11528•20m ago•0 comments