Canadian software engineer living in Europe.

  • 3 Posts
  • 87 Comments
Joined 1 year ago
cake
Cake day: June 7th, 2023

help-circle

















  • There have been some great answers on this so far, but I want to highlight my favourite part of Docker: the disposability.

    When you have a running Docker container, you can hop in, fuck about with files, break stuff as you try to figure something out, and then kill the container and all of the mess you’ve created is gone. Now tweak your config and spin up a fresh one exactly the way you need it.

    You’ve been running a service for 6 months and there’s a new upgrade. Delete your instance and just start up the new one. Worried that there might be some cruft left over from before? Don’t be! Every new instance is a clean slate. Regular, reproducible deployments are the norm now.

    As a developer it’s even better: the thing you develop locally is identical to the thing that’s built, tested, and deployed in CI.

    I <3 Docker!



  • Um, no.

    1. Blockchains aren’t databases because they can’t store any useful amount of data. It’s just a publicly-verifiable, append-only list of very small data points. To do something as simple as “look up who owned vehicle X on Y date” you still need a relational database engine like PostgreSQL, MariaDB, MSSQL, etc. Unless of course your application involves people downloading the entire chain locally and running your software on their machine to look up vehicle history. That’d work I suppose, but good luck deploying it, and it’s a lot more work than an actual database.
    2. Even if all you needed was a blockchain (you don’t) the suggestion that they’re easier to setup and publish on the web for public access than an actual database is laughable. You can get Wordpress up & running in about 10 minutes complete with a database, webserver and human-friendly UI to access basic tools. The idea that you can setup anything blockchain-based to be accessible to non-technical people in less than 10 minutes is just nuts.

    A blockchain provides zero value to solving this problem. It’s more complicated, doesn’t lend itself well to web-based deployments, can’t store the data we need, and requires the consumption of more energy than necessary while slowing down the process of adding records and making them more expensive.