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)

Show HN: Building a small psychedelic twin-stick shooter in the browser

https://www.jamesdrandall.com/posts/building-a-webgpu-twinstick-psychedelic-shooter/
1•jamesrandall•32s ago•0 comments

Let's write a toy UI library

https://nakst.gitlab.io/tutorial/ui-part-1.html
1•birdculture•1m ago•0 comments

Fifty problems with standard web APIs in 2025

https://zerotrickpony.com/articles/browser-bugs/
1•ben_s•1m ago•0 comments

Functional Flocking Quadtree in ClojureScript

https://www.lbjgruppen.com/en/posts/flocking-quadtrees
1•lbj•5m ago•0 comments

Algorithms Are No Longer Tools, They Are Decision-Makers

https://www.harvard.com/book/9781067112608
1•aiexpertuser•7m ago•1 comments

DHRUV64: India's First 1.0 GHz, 64-bit dual-core Microprocessor

https://www.pib.gov.in/PressNoteDetails.aspx?NoteId=156505&ModuleId=3&reg=3&lang=1
1•rilawa•8m ago•0 comments

Fighting Big Tech: Slack vs. Microsoft Teams [video]

https://www.youtube.com/watch?v=tO3SJiB8agI
1•binjo•10m ago•1 comments

US suspends technology deal with the UK

https://www.ft.com/content/afd45e58-5351-4379-8f7e-5788da3d2e20
1•robtherobber•10m ago•0 comments

Show HN: Visualize Meeting Transcripts into Flows and Mind Maps (Offline)

https://selfoss.app/
1•shobankr•11m ago•0 comments

Don't fear Python subprocess or Go codegen

https://benhoyt.com/writings/jubilant/
1•benhoyt•11m ago•0 comments

Show HN: Visualizing when you forget what you learn

https://flashmind-app.vercel.app/
1•rogimatt•15m ago•0 comments

Deep Dive in Java vs. C++ Performance

https://johnnysswlab.com/deep-dive-in-java-vs-c-performance/
2•ibobev•18m ago•0 comments

Aliasing

https://xania.org/202512/15-aliasing-in-general
1•ibobev•18m ago•0 comments

Experiment to train rats to play Doom reaches a new level: shooting enemies

https://www.tomshardware.com/virtual-reality/rats-are-still-being-taught-to-play-doom-now-with-a-...
2•rbanffy•19m ago•0 comments

Lightweight Cardinality Estimation with Density

https://buttondown.com/jaffray/archive/lightweight-cardinality-estimation-with-density/
1•ibobev•19m ago•0 comments

Cutting chatbot costs and latency by offloading queries to local guardrails

https://tanaos.com/blog/cut-guardrail-costs/
1•rlucato•19m ago•0 comments

Warper: Ultra-Fast React Virtualization

https://warper.tech/
1•handfuloflight•20m ago•0 comments

TPAC 2025 Breakouts Recap

https://www.w3.org/blog/2025/tpac-2025-breakouts-recap/
1•pentagrama•21m ago•0 comments

Image Translator – AI-Powered Photo Translation Tool

https://www.imagetranslatorai.app/
1•Irving-AI•23m ago•0 comments

Senators Investigate Role of A.I. Data Centers in Rising Electricity Costs

https://www.nytimes.com/2025/12/16/business/energy-environment/senate-democrats-electricity-price...
3•fleahunter•27m ago•0 comments

How Sustainable Is This Crazy Server Spending?

https://www.nextplatform.com/2025/12/15/how-sustainable-is-this-crazy-server-spending/
1•rbanffy•28m ago•0 comments

AI Ideas That Only Work Because It's 2026

1•suhaspatil101•33m ago•1 comments

Ask HN: Please, review wordoid2.com, a smart naming webapp inspired by original

https://wordoid2.com/
1•aleks5678•34m ago•1 comments

Show HN: Spec-AGENTS.md – A tiny Doc-Driven "spec" for AI coding tools

https://github.com/yibie/SPEC-AGENTS.md
1•oliverchan2024•35m ago•1 comments

Nvidia B200: Keeping the CUDA Juggernaut Rolling Ft. Verda (Formerly DataCrunch)

https://chipsandcheese.com/p/nvidias-b200-keeping-the-cuda-juggernaut
1•rbanffy•40m ago•0 comments

ArkhamMirror: Airgapped investigation platform with CIA-style hypothesis testing

https://github.com/mantisfury/ArkhamMirror
2•ArkhamMirror•41m ago•1 comments

Cloudflare Radar: The rise of AI, post-quantum, and DDoS attacks

https://blog.cloudflare.com/radar-2025-year-in-review/
1•furkansahin•41m ago•0 comments

Cloudflare Is Experiencing Increased Error Rates Accessing R2 from ENAM

https://www.cloudflarestatus.com/incidents/0z4xng0gllq7
1•ouked•42m ago•0 comments

I ported JustHTML from Python to JavaScript with LLMs in 4.5 hours

https://simonwillison.net/2025/Dec/15/porting-justhtml/
1•genericlemon24•42m ago•0 comments

King of Cannibal Island: Will the AI Bubble Burst?

https://www.lrb.co.uk/the-paper/v47/n23/john-lanchester/king-of-cannibal-island
2•ostacke•44m ago•1 comments