frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

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

Australia's Fiscal Point of No Return

https://caseyhandmer.wordpress.com/2026/04/16/australia-will-run-an-overt-command-economy-by-2040/
1•MrBuddyCasino•4m ago•0 comments

AI boom is city's weirdest tech boom, says S.F.'s chief economist

https://missionlocal.org/2026/04/ai-boom-controller-economist-egan-wagner/
2•littlexsparkee•6m ago•0 comments

Engineer open-sources radar system that's 95% cheaper than $250k offerings

https://www.tomshardware.com/maker-stem/open-source-radar-system-is-95-percent-cheaper-than-usd25...
1•Element_•16m ago•0 comments

Running Your Own AS: Direct Hetzner Peering

https://blog.hofstede.it/running-your-own-as-direct-hetzner-peering-a-fourth-edge-and-bringing-th...
1•319•17m ago•0 comments

Taste.md

https://pablostanley.substack.com/p/tastemd
2•cspags•18m ago•0 comments

FCC exempts Netgear from ban on foreign routers, doesn't explain why

https://arstechnica.com/tech-policy/2026/04/fcc-exempts-netgear-from-ban-on-foreign-routers-doesn...
6•rawgabbit•33m ago•1 comments

The Iranian Teens Behind Lego Trump [video]

https://www.youtube.com/watch?v=SQfI9NTtDE4
3•abetusk•33m ago•0 comments

Iran's Lego Slopaganda Creator [video]

https://www.youtube.com/watch?v=i5Q_v370OJg
3•abetusk•34m ago•1 comments

Flowsta Sign It

https://flowsta.com/sign-it/
1•solarpunked•38m ago•0 comments

Long-term adaptation pathways for Venice and its lagoon under sea-level rise [pdf]

https://www.nature.com/articles/s41598-026-39108-z
3•thunderbong•43m ago•0 comments

Billionaire Andrew Forrest takes Meta to court over scam ads using his likeness

https://www.abc.net.au/news/2026-04-17/andrew-forrest-battles-meta-over-fake-ads/106574806
2•ahonhn•46m ago•0 comments

Bluesky has been dealing with a DDoS attack for nearly a full day

https://www.theverge.com/tech/913638/bluesky-has-been-dealing-with-a-ddos-attack-for-nearly-a-ful...
6•dotmanish•47m ago•0 comments

I made an 80B local model ship a 295-test RAG codebas

https://github.com/Taaar1k/rag-workshop
1•taaarik•48m ago•0 comments

Human Accelerated Region 1

https://en.wikipedia.org/wiki/Human_accelerated_region_1
2•apollinaire•51m ago•0 comments

Why MicroVMs: The Architecture Behind Docker Sandboxes

https://www.docker.com/blog/why-microvms-the-architecture-behind-docker-sandboxes/
2•chmaynard•55m ago•0 comments

Poisoning AI Training Data

https://www.schneier.com/blog/archives/2026/02/poisoning-ai-training-data.html
1•RyanShook•1h ago•0 comments

Android users eligible for payout as part of $135M settlement

https://abc7.com/post/android-users-eligible-payout-part-135-million-settlement/18891777/
1•OutOfHere•1h ago•0 comments

Probabilistic engineering and the 24-7 employee

https://www.timdavis.com/blog/probabilistic-engineering-and-the-24-7-employee
3•beau•1h ago•0 comments

Discourse Is Not Going Closed Source

https://blog.discourse.org/2026/04/discourse-is-not-going-closed-source/
30•sams99•1h ago•11 comments

Taiwan Market Cap Tops $4T on AI Boom, Overtaking UK

https://www.bloomberg.com/news/articles/2026-04-16/ai-driven-demand-pushes-taiwan-s-market-cap-ah...
2•ipnon•1h ago•0 comments

You Are What You Consume

https://www.noahpinion.blog/p/you-are-what-you-consume
2•krustyburger•1h ago•1 comments

Show HN: Ask your AI to start a business for you, resolved.sh

https://resolved.sh/
1•RancheroBeans•1h ago•0 comments

Solving Physics Olympiad via reinforcement learning on physics simulators

https://sim2reason.github.io/
2•ivansavz•1h ago•0 comments

Aurora

https://www.together.ai/blog/aurora
1•gmays•1h ago•0 comments

Observational constraints project a ~50% AMOC weakening by the end of century

https://www.science.org/doi/10.1126/sciadv.adx4298
2•ianrahman•1h ago•0 comments

Axol: Cheerful desktop companion that surfaces alerts from JSON payloads

https://roach.github.io/axol/
3•markchristian•1h ago•0 comments

How are you handling silent failures in multi-step agent workflows?

https://www.agentsentinelai.com/
1•skhatter•1h ago•1 comments

Anthropic in talks to give US Government access to its Mythos model

https://www.ft.com/content/c9f5b690-a10e-4c66-9245-017f8bfbc7b4
4•Cider9986•1h ago•2 comments

Software Is About to Get Cheap

https://www.bhusalmanish.com.np/blog/posts/ai-cheap-software-saas-future.html
2•okchildhood•1h ago•0 comments

The CTO of Barad-DûR: A Revisionist History of Mordor

https://heyslick.substack.com/p/the-cto-of-barad-dur-revisionist-history-mordor
2•wolfcola•1h ago•0 comments