Hi Meteor forum members,
last night I’ve spent hours to install Meteor from scratch on our development server. It’s not the fastest system as the /home partition is mounted via NFS, and so it took hours for the standard installation procedure. Actually,
curl https://install.meteor.com/ | sh
failed. I had to download https://static-meteor.netdna-ssl.com/packages-bootstrap/188.8.131.52/meteor-bootstrap-os.linux.x86_64.tar.gz by hand. The extraction using
tar xvfz took more than one hour.
I saw many similar files and analyzed the installation a little bit further today.
There are files like
es6.math.acos.js, part of meteor-esmascript-runtime, which are more than 800 times in the archive. Counting the files existing more than 20 times gives about 60,000 files of the overall 112,000 files. The installation contains only about 17,000 different files.
So, removing duplicates would improve the installation speed by a factor of 6.
I don’t know why the application, especially the installation package, is built in the way it is, but keeping an eye on this issue would improve the developer experience for new developers as well as reduce the times for updates, as I saw similar issues there.
I’d like to help sending a PR, but I don’t feel comfortable doing such a huge change without understanding more of the architecture of these inner parts.