3 ms·
No, they made the right choices. (1)Make it work. (2)Make it correct. (3)Make it fast. Can take a long time to get to step 3 with something as safety critical
by grandinj 11y ago
No, they made the right choices.
(1)Make it work.
(2)Make it correct.
(3)Make it fast.
Can take a long time to get to step 3 with something as safety critical as an update tool.
- deleted 11y ago[deleted]
- k__ 11y ago> implying apt is a young tool and the maintainers didn't have many years to go from 1 to 3
- baghira 11y agoAccording to the developer the bug was present only in the 1.1 series, which is just a few months old (it was pre-released at debconf 2015, and is not in Jessie if i'm not mistaken).
- r0muald 11y agoFurthermore pdiffs were introduced in ~2006: https://www.debian-administration.org/article/439/Avoiding_slow_package_updates_with_package_diffs https://www.debian-administration.org/article/439/Avoiding_s...
- deleted 11y ago[deleted]
- rektide 11y agoSometime between the start and the end, there's often a mandatory burn it all down step required to more fully satisfy either (2) or (3). Watching hundreds of MB of data getting written to my HD for an apt-get update makes me 90% certain that Debian indeed needs to burn it all down. To their credit, they started really early. And burning it all down seems to be an increasingly better option for purely extrinsic reasons; the late mover advantage keeps increasing, and better and better options keep emerging. A LMDB-based refactor perhaps? This is probably a pipe dream, alas: Debian developers must have a hundred different programs that all build and extend forward the original "make it work" technology, to make it survivable. And that's really my final counter to your cute linear notion of ongoing improvement: the mold is set, and there are dozens of things bound up in what has happened.
- julian-klode 11y agoWhere do you want LMDB? apt has a super fast binary cache, the repositories and dpkg store their package lists as text files. RPM systems have the advantage IIRC that they can basically just download a bunch of sqlite3 databases, which means they do not have to parse any data.
- hyc_symas 11y agoAFAIK RPM uses BerkeleyDB, though it will probably switch to LMDB https://bugzilla.redhat.com/show_bug.cgi?id=1086784 https://bugzilla.redhat.com/show_bug.cgi?id=1086784