TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Why is web architecture optimized for writes?

1 点作者 ckmar超过 2 年前
Why is modern web architecture optimized for &quot;writes&quot; (anything can cheaply write to the database) instead of reads (must build the world on every request, while the user waits)?<p>There are obvious answers (like it is easier), but for a technology as dominant as the web, these are surprisingly superficial.<p>An analogous example is indexes in database technologies. They add a lot of implementation complexity, but are paramount for optimizing for &quot;reads&quot;. What would a web framework look like that optimizes for &quot;reads&quot; instead of &quot;writes&quot;?<p>Inspired by https:&#x2F;&#x2F;github.com&#x2F;craigmichaelmartin&#x2F;evanesce#ways-to-think-about-evanesce

1 comment

compressedgas超过 2 年前
Because reads can be served from a cache and writes can not.