frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

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

Cleer AI – Phone-Triggered Desktop Automation with Zero Setup

https://cleer.archonic.dev
1•ypadamat•3m ago•0 comments

Can servers use elicitation for HITL scenarios?

https://realarcherl.github.io/posts/mcp_security/
1•ArcherL•7m ago•0 comments

Dlarc: The Radio Geek's Doomscrolling Antidote

https://www.radioworld.com/news-and-business/news-makers/dlarc-the-radio-geeks-doomscrolling-anti...
1•petethomas•8m ago•0 comments

A Rave Review of Superpowers (For Claude Code)

https://emschwartz.me/a-rave-review-of-superpowers-for-claude-code/
2•emschwartz•18m ago•0 comments

It's Time to Take Down Your Smart Cameras [video]

https://www.youtube.com/watch?v=UMIwNiwQewQ
2•latchkey•19m ago•0 comments

Emacs ATX April 2026 meetup [video]

https://www.youtube.com/watch?v=465GSalM6oI
1•iLemming•21m ago•0 comments

The Whispering Earring

https://gwern.net/doc/fiction/science-fiction/2012-10-03-yvain-thewhisperingearring.html
1•shpat•22m ago•0 comments

Microsoft Readies $10B AI Investment Plan in Japan

https://www.bloomberg.com/news/articles/2026-04-03/microsoft-drafts-10-billion-investment-plan-in...
2•petethomas•26m ago•1 comments

Pool compute to run powerful open models

https://docs.anarchai.org/
1•gasull•27m ago•0 comments

Show HN: Minimal Brain Teaser Web Game (Handcrafted, No AI)

https://mehuleo.github.io/encircle/
2•arttaboi•27m ago•0 comments

Government of Verdis

https://verdisgov.org/
1•skogstokig•33m ago•0 comments

Microdrive Anatomy(2008)

https://www.hjreggel.net/hdtechdat/hd-anatomy.html
1•o4c•35m ago•0 comments

How are people treating/deploying on-device AI?

https://minimal-light-theme.yliu.me/
1•romerocruzsa•38m ago•1 comments

Hacker News MOTD shell script

https://gist.github.com/brandonpollack23/db78386cb84389772974edeb9e9e29bc
4•brandonpollack2•41m ago•1 comments

The Grammar Is Not Its Own Ground

https://jimiwen.substack.com/p/si-wu-zi-c36
1•jimiwen•43m ago•0 comments

When a reasoning LLM chooses, which comes first: thought or decision?

https://arxiv.org/abs/2604.01202
1•dotvignesh•44m ago•0 comments

What Would You See Changed in Haskell?

https://blog.haskell.org/what-would-you-see-changed-in-haskell/
1•shpat•46m ago•0 comments

How Squarespace Implemented Support for HTML Video/Audio Lazy Loading

https://engineering.squarespace.com/blog/2026/squarespace-and-web-standards-how-we-helped-bring-h...
1•beeandapenguin•47m ago•0 comments

Iran targeted Amazon data centers

https://theconversation.com/why-iran-targeted-amazon-data-centers-and-what-that-does-and-doesnt-c...
4•ranit•49m ago•3 comments

Framecraft – Generate demo videos from a prompt using HTML Canvas/Skill/MCP/LLM

https://github.com/vaddisrinivas/framecraft
1•srinivasvaddi•54m ago•1 comments

Most AI trading tools: one model, one prediction, done

https://orallexa-ui.vercel.app
1•xji12026•55m ago•0 comments

Microdrive History(2008)

https://www.hjreggel.net/hdtechdat/hd-micro.html
2•o4c•55m ago•0 comments

S&P Licenses S&P 500 to Trade[XYZ] for Perpetual Contracts on Hyperliquid

https://www.spglobal.com/spdji/en/index-announcements/article/sp-dow-jones-indices-licenses-sp-50...
1•OutOfHere•58m ago•0 comments

Show HN: Ubik – Analyze local files like NotebookLM, with Cursor-like power

https://www.ubik.studio/features
1•ieuanking•1h ago•0 comments

Everyone is building the same thing (a generalist agent)

https://twitter.com/nichochar/status/2039739581772554549
2•nichochar•1h ago•0 comments

Analyzing 38,000 Dota games to see if this item helps [video]

https://www.youtube.com/watch?v=wYE3RUyzHlE
1•marysminefnuf•1h ago•0 comments

Cc-plugin-audit: Defensive supply-chain security analysis on plugin auto-update

https://github.com/STRML/cc-plugin-audit
1•Sottilde•1h ago•0 comments

The College Student–and His Cat Meme–Who Hunted the Biggest Cyberweapon

https://www.wsj.com/tech/kimwolf-hack-residential-proxy-networks-a712ab59
2•lakoshi•1h ago•0 comments

Change your Google Account username in a few simple steps

https://blog.google/products-and-platforms/products/workspace/google-account-username-change/
4•brie22•1h ago•0 comments

CDC Pauses Testing for Rabies and Pox Viruses

https://www.nytimes.com/2026/04/01/health/cdc-rabies-mpox-tests-paused.html
6•detaro•1h ago•1 comments