784
Yes (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] PieMePlenty@lemmy.world 16 points 1 year ago

Does a file lookup really take that long? Id say the trick was to have just plain old html with no bloat and you're golden.

[-] agilob@programming.dev 29 points 1 year ago

Blog content was stored in memory and it was served with zero-copy to the socket, so yea, it's way faster. It was before times of php-fpm and opcache that we're using now. Back then things were deployed and communicated using tcp sockets (tcp to rails, django or php) or reading from a disk, when the best HDDs were 5600rpm, but rare to find on shared hosting.

[-] THE_STORM_BLADE@lemmy.world 6 points 1 year ago

Couldn't the html be loaded into memory at the beginning of the program and then served whenever? I understand the reading from disk will be slow, but that only happens once in the beginning.

this post was submitted on 15 Nov 2023
784 points (100.0% liked)

Programmer Humor

19804 readers
564 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS