frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Debating Modern Postgres Architectures: Shared Nothing vs. Shared Everything

2•saisrirampur•1h ago
Over the past few months, a couple Postgres Bare Metal (NVMe) offerings have been released. I’ve been thinking a lot about shared-nothing (serverless) versus shared-everything (bare-metal) architectures. I also went through the technical architectures of a few existing open-source serverless solutions and gained a good understanding of their internals.

The multi-tenant storage layer provides great flexibility for features like instant provisioning and instant forking, but achieving true serverless inevitably means sacrificing some latency (even with aggressive prefetching). The architecture involves several components, such as the safekeeper (for WAL), page server (for heap), cold storage (S3), and more, each adding some overhead. This results in additional latency across the network, compute (page server), and storage (S3) layers. This also offers the ability to price very low.

With Bare Metal, storage is tightly coupled with compute, and disk access happens on the order of microseconds rather than milliseconds. I view the disk (specially with NVMe) almost as a second-level memory, which can significantly improve performance when a Postgres workload is memory bound leading to dis -access i. However, this architecture offers less flexibility in scaling, storage and compute must scale together, and presents challenges for instant provisioning and forking. That said, one could argue that cloud providers have evolved considerably, offering a broad range of bare-metal instance types.

There’s a user base that finds value in both Serverless and Base Metal architectures. I see serverless as being best suited for customers who prioritize flexibility, aren’t super latency sensitive and don’t anticipate scaling significantly in the near to medium term, where memory or disk might become a bottleneck. In contrast, Bare Metal can greatly benefit workloads that are expected to scale rapidly and where memory or disk performance becomes a critical factor.

Coming to my views on the future, I lean toward shared-everything (Metal) over shared-nothing (serverless), especially for OLTP workloads, where tail latencies really matter, and in contrast to OLAP workloads, every millisecond matters. I find Bare Metal to offer significantly better efficiency (price and performance at scale) while still providing enough flexibility. Metal also stays native to open-source Postgres, no forks or brittle extensions, which means it can keep up with the fast improvements happening in Postgres’ storage layer: async I/O, better checkpoints, vacuum, logical replication, and many other features.

From my experience working with thousands of Postgres customers at Citus, Microsoft, and ClickHouse, memory and disk I/O are always the biggest pain points as they scale. Metal helps address this, enabling customers to scale 2x–10x more efficiently as they grow. This need is even more pressing in today’s AI-driven world, where customers are and will hit memory and disk limits much sooner than before. As AI adoption accelerates and more companies make AI accessible across thousands of verticals, it’s becoming clear that planning for scale from day one is no longer optional, it’s essential.

When it comes to future innovation in this area, one obvious area is making the powerful Metal/NVMe architecture accessible to everyone — through enterprise-grade managed services, which is already starting to take shape. Next, I think the focus will be on overcoming the flexibility challenges of Bare Metal architectures: how do we lower the cost barrier to entry, enable instant provisioning and forking, achieve infinite scale through approaches like sharding, and more.

We're Trying to Solve Vibe-Coded PRs

https://idiallo.com/blog/how-we-are-solving-vibe-coded-prs
1•firefoxd•1m ago•0 comments

The innovator's dilemma disolves when truth is boss

https://omarreid.co.uk/posts/the-selfless-innovator/
1•oreid52•1m ago•1 comments

CLI command history tracker – never forget a command again

https://crates.io/crates/omniscient/1.0.2
1•danebalia•2m ago•1 comments

Dying Shopping Malls Are the Roman Ruins of Our Civilization

https://www.nytimes.com/2025/11/11/magazine/dying-mall-beauty.html
1•ChrisArchitect•3m ago•1 comments

Press reviews for the new Framework Laptop 16

https://frame.work/blog/press-reviews-for-the-new-framework-laptop-16-are-live
1•thenobsta•4m ago•0 comments

LLM Output Drift in Financial Workflows: Validation and Mitigation (arXiv)

https://arxiv.org/abs/2511.07585
2•raffisk•4m ago•1 comments

Despite my love-hate relationship with Motorola, I have to stick with it.

https://old.reddit.com/r/motorola/comments/1ova6vp/despite_my_lovehate_relationship_with_motorola_i/
1•sipofwater•5m ago•0 comments

The Risky Movement to Make America Nuclear Again

https://www.bloomberg.com/news/features/2025-10-30/silicon-valley-s-risky-plan-to-revive-nuclear-...
1•dgroshev•5m ago•1 comments

Ingress Nginx Retirement: What You Need to Know

https://www.kubernetes.dev/blog/2025/11/12/ingress-nginx-retirement/
1•gjvc•6m ago•0 comments

GLP-1 Drugs Linked to Dramatically Lower Death Rates in Colon Cancer Patients

https://today.ucsd.edu/story/glp-1-drugs-linked-to-dramatically-lower-death-rates-in-colon-cancer...
1•gmays•7m ago•0 comments

Hyperlink: On-device AI agent that searches and summarizes all your local files

https://hyperlink.nexa.ai/
1•alanzhuly•10m ago•0 comments

Phantom claims to be worlds first transparent monitor,5000nits of HDR brightness

https://www.tomshardware.com/monitors/the-phantom-claims-to-be-the-worlds-first-transparent-compu...
1•thelastgallon•10m ago•0 comments

Parrot – A C++ library for fused array operations using CUDA/Thrust

https://nvlabs.github.io/parrot/
1•operator-name•11m ago•0 comments

Critical RCE patched in Imunify360 affects up to 50M+ websites

https://patchstack.com/articles/remote-code-execution-vulnerability-found-in-imunify360/
3•oliversild•12m ago•0 comments

How high are OpenAI's compute costs? Possibly a lot higher than we thought

https://www.ft.com/content/fce77ba4-6231-4920-9e99-693a6c38e7d5
3•thereitgoes456•16m ago•0 comments

The Most Fascinating Machines: When Technology Transforms Everyday Life

https://guildnet.blogspot.com/2025/11/the-most-fascinating-machines-when.html
1•TraumenMaster•18m ago•1 comments

RF Multifunctional Components with Integrated Filtering Characteristics

https://www.mdpi.com/3042-5697/1/3/11
1•PaulHoule•21m ago•0 comments

GPU Benchmarks – Animation Error Methodology White Paper

https://gamersnexus.net/gpus-gn-extras-cpus/problem-gpu-benchmarks-reality-vs-numbers-animation-e...
1•Akronymus•22m ago•1 comments

Weakly-supervised object detection with attention maps and SAM

https://github.com/punnerud/attention_with_dataset
1•punnerud•23m ago•0 comments

Show HN: Scribe v2 Realtime – new SOTA real-time speech to text model

https://elevenlabs.io/realtime-speech-to-text
3•lharries•24m ago•0 comments

FEX: Emulate x86 Programs on ARM64

https://github.com/FEX-Emu/FEX
1•doruk101•26m ago•0 comments

Mystery 90s Industrial/goth/rap Demo Tape found while thrifting in Portland

https://old.reddit.com/r/Portland/comments/1ovdpaw/mystery_90s_industrialgothrap_demo_tape_found/
2•pavel_lishin•26m ago•0 comments

The Rise of Parasitic AI

https://www.lesswrong.com/posts/6ZnznCaTcbGYsCmqu/the-rise-of-parasitic-ai
2•d_silin•26m ago•0 comments

CC can't help my AI research exp – so I open-source this "AI research skills"

https://github.com/zechenzhangAGI/claude-ai-research-skills
1•amberjcjj•26m ago•1 comments

Show HN: Agent-to-Code JIT Compiler

https://docs.a1project.org
1•calebhwin•28m ago•0 comments

Ask HN: Typical tech job interview in late 2025?

2•dakiol•33m ago•2 comments

Valve Announces Steam Machine

https://store.steampowered.com/hardware/steammachine
1•metayrnc•33m ago•1 comments

The Overly Humble Programmer

https://jimmyhmiller.com/overly-humble-programmer
2•tobr•35m ago•0 comments

As 'Dorian Gray' ages, its relevance only grows

https://www.washingtonpost.com/books/2025/11/08/dorian-gray-oscar-wilde-history/
2•apollinaire•36m ago•0 comments

Is your electric bill going up? AI is partly to blame

https://www.npr.org/2025/11/06/nx-s1-5597971/electricity-bills-utilities-ai
18•ilamont•37m ago•16 comments