• Nora@lemmy.ml
    link
    fedilink
    arrow-up
    25
    ·
    7 days ago

    Well, if it works, they’ll apply it. Saving 30% on your electricity bill would probably save a lot of money.

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      7 days ago

      That’s way more than 30 lines or code and also their “We didn’t add anything.” claim seems to be nonsense.

      • Nate@programming.dev
        link
        fedilink
        English
        arrow-up
        13
        ·
        7 days ago

        Most of what you’re looking at there is tests and comments, the actual additional code is minimal (I’m not gonna try and count the lines on my phone)

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    7 days ago

    And yet we write giant web applications in frameworks like django and ExpressJS

    Honestly I’m surprised Golang hasn’t taken off more.

    • dangling_cat@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      17
      arrow-down
      1
      ·
      6 days ago

      Because programmer hourly pay is way higher than server hourly cost. Abundant nodejs developers can pump shitty code faster, therefore delivering features faster. That’s all shareholders care about.

      • hellofriend@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        6 days ago

        Almost like a system where the only consideration is maximizing profit margins isn’t ideal. ://

        If I’m ever in politics I’ll prioritize cooperatives. Nothing wrong with profit, but it doesn’t have to be the only thing a corporation cares about.

  • notfromhere@lemmy.ml
    link
    fedilink
    arrow-up
    12
    ·
    7 days ago

    A typical data center rack holds about 40 servers, each with at least two networking interfaces. According to Boote, the Ethernet interfaces of a single rack draw 160 watts in total.

    “Reducing the power draw of a data center, which may have hundreds or thousands of racks, would be akin to an energy savings of switching a building from incandescent to more energy efficient LED lighting and be well worth the investment,” he told LinuxInsider.

    According to Boote, this optimization fixes a part of the kernel written when lower-speed Ethernet interfaces drew a fraction of today’s electrical needs. The networking stack design did not account for the growing power budget required by modern networking interfaces.

    “By changing the priority of how the computers schedule tasks during high bandwidth events, a computer can better deal with networking traffic and prioritize energy expenditure in a way that makes sense for modern hardware and architectures,” he reasoned.