frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

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

Show HN: Claude Code Open – AI Coding Platform with Web IDE and Agents

https://github.com/kill136/claude-code-open
1•694623326•1m ago•0 comments

Simultaneous Claude Code agents on local hardware

https://github.com/Mattbusel/tokio-prompt-orchestrator
1•Shmungus•2m ago•1 comments

Taalas Etches AI Models onto Transistors to Rocket Boost Inference

https://www.nextplatform.com/2026/02/19/taalas-etches-ai-models-onto-transistors-to-rocket-boost-...
1•hochmartinez•3m ago•0 comments

Elixir's Original Readme (2011)

https://github.com/elixir-lang/elixir/tree/ae3bdb72eb5a3d3bc80b4335a47579b533b0537b
1•sergiomattei•3m ago•0 comments

Armatron

https://armatron.vercel.app/
1•thomasfromcdnjs•10m ago•0 comments

Sanders warns US has no clue about speed and scale of coming AI revolution

https://www.theguardian.com/us-news/2026/feb/21/ai-revolution-bernie-sanders-warning
1•thunderbong•10m ago•0 comments

PostHog's 404 Page

https://posthog.com/skdjghdjkfhgkjhdfg
1•howToTestFE•11m ago•1 comments

Perplexity Pro promo subscription suspended without explanation?

1•aanno•14m ago•0 comments

Indian food delivery giant leak location metadata,food preferences to strangers

https://medium.com/@jatin.b.rx3/how-a-zomato-feature-enables-stalking-which-they-call-working-as-...
1•jatin-dot-py•14m ago•0 comments

Building a language that people want

https://blog.merigoux.fr/en/2026/02/19/building-proper-pl.html
1•art-w•15m ago•0 comments

Palantir Captured the UK Ministry of Defence

https://www.ft.com/content/5207928a-13e8-4832-8c6f-2e78740c16c9
2•macleginn•16m ago•0 comments

Code has always been the easy part

https://laughingmeme.org/2026/02/09/code-has-always-been-the-easy-part.html
2•Ozzie_osman•18m ago•0 comments

What Happened to Software Is Happening to Finance and Accounting

https://doempke.com/what-happened-to-software-is-happening-to-finance-and-accounting/
2•robk•18m ago•0 comments

Rare Blood Clots After Certain Covid Vaccines

https://www.mcgill.ca/oss/article/covid-19-medical-health-and-nutrition-technology/rare-blood-clo...
3•cyrc•20m ago•0 comments

Show HN: Shellspec – DSL to Test CLIs

https://github.com/itsfarseen/shellspec
1•itsfarseen-1•21m ago•0 comments

Ask HN: Best file format for AI reports output?

1•azkalam•33m ago•0 comments

A distributed queue in a single JSON file on object storage

https://turbopuffer.com/blog/object-storage-queue
3•Sirupsen•33m ago•0 comments

Show HN: Go Implementation of Systemd Time

https://gitlab.com/allddd/go-systemd-time
1•allddd•34m ago•0 comments

Joseph Weizenbaum's Hackerkritik

https://sdf.org/~pkal/src+etc/hacker-kritik.html
1•pkal•36m ago•0 comments

Relooted, a game where you take back stolen African artifacts from museums

https://www.theguardian.com/games/2026/feb/21/south-african-video-game-artefacts-western-museums
1•atombender•42m ago•0 comments

'Psychological torture': Spanish tenants fight back against housing 'harassment'

https://www.theguardian.com/world/2026/feb/21/spanish-tenants-fight-back-against-housing-harassme...
1•Geekette•42m ago•0 comments

Launch of Dozy

https://www.dozy.site/
1•david-kelen•43m ago•1 comments

Moltbook-CLI – crates.io: Rust Package Registry

https://crates.io/crates/moltbook-cli
1•kelexine•51m ago•0 comments

Show HN: RealDeed PropPass – Own Indian Real Estate Digitally from INR 10k

https://realdeed.in/
1•oxfpr555•52m ago•0 comments

Google Is Exploring Ways to Use Its Financial Might to Take on Nvidia

https://www.wsj.com/tech/ai/google-is-exploring-ways-to-use-its-financial-might-to-take-on-nvidia...
3•JumpCrisscross•53m ago•0 comments

Lindenmayer Systems

https://justinpombrio.net/2026/02/16/l-systems.html
1•birdculture•57m ago•0 comments

Baby chick study challenges a theory of how humans evolved language

https://www.scientificamerican.com/article/baby-chicks-pass-the-bouba-kiki-test-challenging-a-the...
1•atombender•1h ago•0 comments

Search and analyze documents from the DOJ Epstein Files release with local LLM

https://github.com/artmedlar/epstein-files-analyzer
2•edward•1h ago•0 comments

Show HN: Sketchdown – Wireframes as code, like Mermaid but for UI mockups

https://www.sketchdown.dev/
1•alexxozo2•1h ago•1 comments

Searching for Birds

https://SearchingForBirds.VisualCinnamon.com/
1•the-mitr•1h ago•0 comments