The new, fastest ever release of nscale, nearForm’s open source deployment management tool kit, is all about speed. Check it out here.
In version 0.11.1, we focussed on making the following faster:
- Building the containers
- Shipping the containers
- Analyzing the live system
Faster build and shipping
All versions up to and including nscale 0.10 exported each image in its own tarball using docker save > [file], copied them using scp, and imported them using docker load < [file]. This technique works well but slowly. This is mainly because each exported image includes all layers, and the images are therefore in the 300 to 700 MB range (check out the layer docs). With docker pull, these layers are cached. The result is that the speed of the build, tag and pull processes is greatly improved.
docker pull requires a docker registry. The good news is that nscale 0.11.1 has its own integrated docker registry. Developers can therefore use their usual docker development tool. The nscale docker registry is built on Mathias Buus’ docker-registry-server.
The analysis used to be a particularly slow step in the deployment process. This was mainly because the analysis needs to open a lot of connections to all the target machines over SSH and wait for the data to be collected. We speeded up this step by putting in place an optimized docker-ssh analyzer that reuses existing SSH connections.
We are looking for Node.js developers to join the nearForm team. Contact us in any of the ways below.
Get in touch
We’d love to hear from you. Whether you want to find out how to integrate Node.js in your organisation, if you want to know more about nearForm, or if you’d like to chat about all things Node.js and micro-services – reach out to us:
Phone +353-1-514 3545