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

Deploy Brinjel on Clever Cloud

Brinjel is an open-source field management software designed for market gardeners, helping them plan seasons, track harvests, and optimize agricultural production. Created by and for market gardeners, it emphasizes an intuitive interface and features tailored to real-world needs.
Company

Simplify the management of Clever Cloud services via Kubernetes with our new operator

For the past two years, we've been enabling our customers to combine the ease of deployment of Clever Cloud with an existing Kubernetes infrastructure through an operator.
Engineering

Keycloak as a Service: identity management without the complexity

Ensuring identification and access management (IAM) in an application is a challenge that is as strategic as it is complex. But beyond the initial configuration, it is the maintenance, updates and supervision of the solution that most mobilise your teams. What if you could concentrate on your applications... while a managed solution took care of the rest?
Company