Distributed system is slower than a laptop

(codegood.co)

28 points | by iolloyd 2 days ago

5 comments

  • jfim 56 minutes ago
    > No CFO approves a $1.4 million annual commitment on the strength of a chart showing that the commitment scales.

    Except the company probably approved a budget for AWS or another cloud provider, and basically gave a blank check to developers to deploy whatever is needed. So developers are going to just deploy MSK or whatever is trendy, instead of trying to get the most throughput from the servers they got from IT.

    • apimade 7 minutes ago
      In my experience, this is the path many developers take. I’ve consulted to hundreds of companies over the years, and it’s alarming how often I’ve encountered decisions driven by what someone wanted to learn or work with, rather than what was actually right for the problem.

      That happens at every level, from individual developers through to project leads and CTOs.

      Consultancies are often no better. Choosing technologies that require substantial or highly specialised skill sets seems almost routine. I’m looking at you, Kubernetes.

      I’m not entirely innocent here either. I owe a decent portion of my mortgage to MuleSoft consulting. That said, I don’t think I ever pretended it was always the best solution. Even while working directly for MuleSoft, my recommendation in probably half of the engagements was some variation of: ‘You’re using the wrong technology for this.’

      But by then, an executive had usually tied their reputation to the project and the platform, commitments had been made, and changing course had become politically harder than continuing.

      And so we persist.

      In my experience, the best technology choices are boring ones. There’s still a large area of immature technology you can get creative with (like Backstage or Port for software catalogs and setting up a nice golden path”), but the meat and potatoes of development work should be a boring choice, that follows a well-tread path within a large ecosystem of developers.

      There are exceptions, but they’re not for the majority of organisations.

  • glouwbug 1 hour ago
    “My formative memory of Python was when the Quake Live team used it for the back end work, and we wound up having serious performance problems with a few million users. My bias is that a lot (not all!) of complex “scalable” systems can be done with a simple, single C++ server.”

    https://x.com/ID_AA_Carmack/status/1210997702152069120

  • edude03 1 hour ago
    Other than batch jobs, I can't think of a problem that can be solved these days that doesn't also require high availability - at the very least they require a warm standby.
    • AlotOfReading 56 minutes ago
      So take 16 independent computers and have them each solve the problem separately. You'd still be saving 80% compared to the paper's benchmarks. It wasn't close.

      McSherry does a lot of interesting work on making monotonic/incremental distributed systems efficient (e.g. Differential and Timely Dataflow). Those kinds of systems scale much more linearly.

    • rcxdude 1 hour ago
      I dunno, it often matters a lot less than you think when something goes down. And distributed systems have a knack for going down in a much less predictable way, it's not going to automatically make your system more reliable.

      (modern server hardware and operating systems are also surprisingly reliable nowadays, which makes it harder to reach breakeven with a distributed design)

    • glouwbug 1 hour ago
      Sometimes your entire business is just a laptop with a python dictionary and a backup power supply
  • ch_sm 1 hour ago
    the point the article makes is good (albeit not new). the style sounds very LLM to me.