1

While many questions answer what is Snappy Core, I've yet to see an answer of how Snappy is faster (as claimed here) than traditional package management in Ubuntu. I get that rolling back and stuff but how is it FASTER? (in terms of infrastructure) Please use layman's terms so that I can understand

1 Answers1

4

A standard Ubuntu or Debian system is built out of many debian packages. This allows you to pick and choose which ones you want installed on your system, but it means when you upgrade, each one has to be upgraded individually, unpacking files, and replacing the existing ones, then running scripts to make any needed modifications to the system to ensure the upgrade goes smoothly. With snappy, it is more like an android system: you get one big system rom file that is just written to a partition on the disk, and this rom file already contains all of the packages, already installed, but with the database of what packages are installed stripped out.

Downloading and writing one big file directly to a partition on the disk is much faster than downloading many individual package files, unpacking each into the many files they contain, then running the installation scripts. In fact, when upgrading, the download part doesn't even have to download the whole file; it only needs to download the differences between the new rom and the one you already have.

psusi
  • 38,031