Faster Nodejs applications deployment with Clever Cloud NPM mirror

Version française en-dessous

npm logo

Npmjs.org, the Nodejs dependencies repository has recently experienced outages which have blocked every Nodejs application deployment on every server in the world which use this repository including Clever Cloud ones.

Actually, when an application is launched locally or on a PaaS like ours, the application has to download all its dependencies. If the repository server is down, the application cannot download the dependencies and the deployment fails.

In order to provide a better deployment experience, we have built our own dependencies mirror so that we do not need to use npmjs.org servers anymore when deploying applications.
Deployments are now always successful even if npmjs.org is down. Moreover, instead of downloading dependencies from the US, they are downloaded locally so applications deployments are twice faster.

A very good reason to deploy a Nodejs application on Clever Cloud!

The Clever Cloud team


Version française

Npmjs.org, le dépôt officiel de dépendances Nodejs a récemment subi des interruptions qui ont bloquées les déploiements sur tous les serveurs du monde qui utilisaient ce dépôt officiel, y compris ceux de Clever Cloud.

En effet, lorsqu’une application est lancée localement ou bien sur un PaaS comme le notre, l’application doit télécharger ses dépendances sur des serveurs distants. Si le serveur contenant les dépôts de ces dépendances n’est pas disponible, l’application ne peut pas les récupérer et le déploiement échoue.

Dans le but d’améliorer le déploiement des applications Nodejs, nous avons créé notre propre mirroir de dépendances afin de ne plus avoir à utiliser de nouveau les serveurs npmjs.org lors de nos déploiements. Ces derniers ne sont donc plus tributaires des interruptions de npmjs.org. De plus, puisque les dépôts sont téléchargés de nos serveurs et non plus des Etats-Unis, les déploiements sont deux fois plus rapides.

Une bonne occasion donc de déployer dès à présent votre application Nodejs sur Clever Cloud !

L’équipe Clever Cloud

Blog

À lire également

FrankenPHP, sessions in Materia KV, lifecycle: what will change in PHP on Clever Cloud

Since the first week of the year, we've delivered. There have been many new features on Clever Cloud, some more visible than others.
Company

SuperBOL: The COBOL revolution in the Cloud

COBOL, a programming language that is over 60 years old, continues to power a large proportion of the IT systems of the world's major companies, particularly in the financial and insurance sectors.
Features

Clever Cloud welcomes the first startups to the UP Programme

Clever Cloud is proud to announce the arrival of the first five startups selected to join its UP Programme, an initiative dedicated to supporting young technology companies in their growth phase.
Company