Mama told me not to come.

She said, that ain’t the way to have fun.

  • 3 Posts
  • 7.48K Comments
Joined 2 years ago
cake
Cake day: June 11th, 2023

help-circle





  • Dang, I was hoping for a FOSS project that would do most of the heavy lifting for me. Maybe such a thing exists, idk, but it would be pretty cool to have a pluggable system that analyzes activity and tags connections w/ some kind of identifier so I could configure a web server to either send it nonsense (i.e. poison AI scrapers), zip bombs (i.e. bots that aren’t respectful of resources), or redirect to a honey pot (i.e. malicious actors).

    A quick search didn’t yield anything immediately, but I wasn’t that thorough. I’d be interested if anyone knows of such a project that’s pretty easy to play with.












  • Yeah, I really don’t know what constraints OP is working under. Here are mine:

    • >8TB max capacity - lots of Blu-ray rips, which grows every year (currently 3-4TB, grows by 1TB or so per year)
    • RAID mirror - my media isn’t backed up, so this reduces my need to re-rip if a drive dies
    • no hard requirement on speed, I only need 1-2 concurrent streams, and a single HDD is probably sufficient for that

    If I was building today, I’d probably still go HDD because few mobos have >2 NVMe slots, and NVMe gets expensive at higher capacities, especially if RAID is on the table.

    If my NAS was 100% backed up, I wouldn’t need RAID and I would probably use NVMe to save on space and complexity.

    bcachefs

    Why tho? Just use btrfs or zfs, they’re proven in production, and have a lot of good documentation.



  • Memory is not cheap

    The thing is, these mantras are always taken out of context.

    “Memory is cheap” is in comparison to other options. For example, if you have a the choice between optimizing for CPU or memory, you should optimize for CPU almost every time because it’s a lot cheaper to add more RAM than add more CPU.

    But for some reason, we’ve taken this to mean, “I don’t need to optimize memory or CPU because I can just upgrade them.” That’s only true until it isn’t, and it’s generally easier to optimize things as you go than optimize once everything is broken.

    Good post. I really don’t understand how apps have gotten so terrible.

    The app I work on is slow, but that’s because we’re doing pretty heavy things (3D canvas stuff), but even then we do a really bad job of lazy loading stuff (e.g. images used for that 3D stuff are loaded way before you get to the 3D part, and many users don’t use the 3D feature at all in a session).

    But at least we have an excuse. Why does the bank app take forever to load when it just needs to query around balances and submit tasks to their backend to process? That should be incredibly lightweight.