Settings

Theme

Ask HN: Why is web architecture optimized for writes?

1 points by ckmar 3 years ago · 1 comment · 1 min read


Why is modern web architecture optimized for "writes" (anything can cheaply write to the database) instead of reads (must build the world on every request, while the user waits)?

There are obvious answers (like it is easier), but for a technology as dominant as the web, these are surprisingly superficial.

An analogous example is indexes in database technologies. They add a lot of implementation complexity, but are paramount for optimizing for "reads". What would a web framework look like that optimizes for "reads" instead of "writes"?

Inspired by https://github.com/craigmichaelmartin/evanesce#ways-to-think-about-evanesce

compressedgas 3 years ago

Because reads can be served from a cache and writes can not.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection