Lire l'article ici. ou ici en francais.
Cette décision est motivée par:
- La durée raccourcie du cycle de mise en production
- La durée raccourcie d'apprentissage de la filière Javascript
- Et surtout pour des raisons de coût et de performance.
Site Payal:(lien ici)
Sur la performance:
- Double the requests per second vs. the Java application. This is even more interesting because our initial performance results were using a single core for the node.js application compared to five cores in Java. We expect to increase this divide further.
- 35% decrease in the average response time for the same page. This resulted in the pages being served 200ms faster— something users will definitely notice.
- Built almost twice as fast with fewer people
- Written in 33% fewer lines of code
- Constructed with 40% fewer file
Paypal a mis en place une pile logicielle à base du framework Express. Et a reversé des librairies javascript servant à prendre en charge la sécurité dont
Lusca
Out-of-the-box application security. Lusca is middleware that can be deployed over Express, and configured to plug common attack vectors. When used, it will:
• Enable Cross Site Request Forgery (CSRF) headers.
• Enable Content Security Policy (CSP) headers.
• Enable X-FRAME-OPTIONS headers to help prevent Clickjacking.
• Enable Platform for Privacy Preferences Project (P3P) headers.
Lusca (lien ici) implemente la couche sécurité pour Express.Donc: moins de ligne, moins de personnel , plus rapide et plus simple.
Aucun commentaire:
Enregistrer un commentaire