Comment

Comment by gwbas1c

> That always felt a bit strange to me: you essentially have two web servers, and one of them is also responsible for your business logic. ... CGI gives you a single web server that calls your business logic directly. It's clear who does what.

Some of that is protecting your app by using pre-existing components that nothing to do with your app or business: Load balancing, DDOS protection, ect, ect. There's no need to write this kind of stuff from scratch unless you're in some kind of performance-sensitive niche or otherwise are large enough to justify getting into these weeds.

parent gwbas1c 23 days ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton