by dang · 5y ago · 0 comments
Sorry. I hate slow software.
Edit: for the time being, I've lowered the number of comments that get rendered per page. That's helping some. It means you'll all have to click more More links at the bottom of threads to see all the comments. One day this will all be better.
A flat-file architecture only scales so far. This is probably the only forum on the internet where a thread passing 500 comments is an actual problem - and remember, you're planning on getting rid of pagination, which means no theoretical limiter on request sizes. In a few years when 500+ comments threads become the norm among another million users, disk I/O is going to be more and more of an issue.
Racket has a perfectly good database library, just kick the problem upstairs and be done with it.
Also a tip for others when HN is slow or almost down (like when Google was down): you can open a private tab and navigate HN from there. Since you’re not logged in, you’re served a copy from cloud flare. It’s usually out of date by 1min or so but good enough for reading in my opinion.
I have not received any notification mails in the last days
You guys rock!
You have access to both highly qualified people (that read HN and would most likely be glad to help you engineer a system (paid or unpaid) that would not be strained by usage) AND access to money if that was needed to improve things (and pay for a solution).
Does HN still run on a server colocated in a data center?
Is there a budget that you need to adhere to? YC certainly makes money and can afford to pay for a better setup.
A bit embarrassing HN should not run as if if it was operated out of one person's basement, budget, or expertise. (And it's not 1996 either it's 2021 and HN does not even have anything but text).
To me, this is a hopeful message. It is still possible to run a website out of one's basement and have it become a staple of internet culture.
I find the simplicity here quite comforting.
Why is a colocated server considered a bad setup? I think that actually getting the resources you pay for (instead of being on an overprovisioned VM host) and not being scammed on network data transfer fees is a great setup.