• 2 Posts
  • 207 Comments
Joined 2 years ago
cake
Cake day: June 14th, 2023

help-circle

  • Ok but is there room for the idea that your intuitions are incorrect? Plenty of things in the world are counter-intuitive. ‘docker-compose up -d’ works the same whether it’s one container or fifty.

    Computer resources are measured in bits and clock cycles, not the number of containers and volumes. It’s entirely possible (even likely) that an all-in-one container will be more resource-heavy than the same services split across multiple containers. Logging from an all-in-one will be a jumbled mess, troubleshooting issues or making changes will be annoying, it’s worse in every way except the length of output from ‘docker ps’



  • I disagree with pretty much all of this, you are trading maintainability and security for easy setup. Providing a docker-compose file accomplishes the same thing without the sacrifice

    • separate volumes for configuration, data, and cache because I might want to put them in different places and use different backup strategies. Config and db on SSD, large data on spinning rust, for example.
    • separate container for the database because the official database images are guaranteed to be better maintained than whatever every random project includes in their image
    • separate networks because putting your reverse proxy on a different network from your database is just prudent











  • traches@sh.itjust.workstoPolitical Memes@lemmy.worldspace, the final frontier
    link
    fedilink
    English
    arrow-up
    77
    arrow-down
    13
    ·
    26 days ago

    The challenging thing here is that NASA does have deep, systemic problems and is in need of some overhaul. SLS is a breathtakingly expensive boondoggle, lunar gateway has no reason to exist, Orion is underpowered and overweight, Mars Sample Return’s entire mission is in question, JWST was a decade behind schedule and an order of magnitude over budget, and the list goes on. Extreme risk-aversion and congressional meddling have resulted in a bureaucratic quagmire of an organization. It’s hard to find nasa projects that are going well.

    Of course I don’t think a gorilla with a sledgehammer as we’re sadly going to see from Trump will make things any better, we need a surgeon with a scalpel.




  • I don’t get the hatred for types, they have saved my ass so many times and saved so many headaches exactly like what the article describes. I used to write a lot of ruby and after getting decent at typescript I can’t go back.

    It’s not just ceremony, types ensure some level of logical consistency in your app. They reduce how much of the world you need to keep in your head at one time, and they allow you to express your intent far more robustly than comments and naming can. I love rust’s approach of making invalid state not even representable.