HackerTrans
TopNewTrendsCommentsPastAskShowJobs

bamfly

no profile record

comments

bamfly
·قبل 3 سنوات·discuss
> The AV stuff is huge. It’s always why windows Windows 8 era PCs were maybe the most brutally slow.

IIRC Win8's also the first Windows I found unusable on spinning rust. Part of it may have been AV, but things like opening the start menu had significantly worse delays there than on a flash disk. It seems like they'd simply disregarded all development/design discipline about disk I/O, across the OS.

... which, you keep doing that everywhere, lots of devs making lazy choices to just grab this from disk here or just write a little data synchronously there, and it'll add up to non-negligible delay, even on a flash disk. And it'll make an HDD craaaawl. Which is exactly what happened.
bamfly
·قبل 3 سنوات·discuss
The min specs would be the same, laptop or desktop. A laptop with those kind of specs back then probably just had terrible battery life and was really big & heavy, didn't throttle down or anything. Not like today when you'd expect the "same part" or "same clock speed" to not really be the same, between a mobile and desktop chip.
bamfly
·قبل 3 سنوات·discuss
Dafuq kind of scale could even a service for lots of restaurants have, that that wouldn't be a single query taking milliseconds to execute? I'd maybe split the last bit (user history re-ordering) into another operation, but the rest, nah, not seeing it, one quick query, probably behind a view.

I mean maybe your DB is a single node running on a potato and your load's very high but you're also somehow never hitting cache, but otherwise... no, there's no good reason for that to be slow.

[EDIT] Your last paragraph is the reason, though: it's made extremely poorly. That'll do it.