Logo
  • PHP
    • HipHop / HHVM
    • Modern PHP
    • PHPStorm
    • LAMP
    • Laravel
    • Composer
    • PDO
  • JavaScript
    • node.js
    • AngularJS
  • CSS
    • SASS
    • “CSS4” (CSS level 4)
  • HTML
  • Git
  • LAMP
  • Vagrant
  • UI / UX
  • Architecture of …
  • Off-Topic
With ♥ from Berlin
December 1, 2013
Chris
JavaScript, node.js
0

PayPal drops Java, goes node.js / JavaScript

PreviousNext
node.js

First: this is not a Java-vs.-AnyOtherLanguage diss, just an article about a very interesting development: Using “frontend-languages” for serious server-side development (and client-side for sure) and even as a replacement for classic servers like Apache/NGINX/etc.

Now, PayPal, one of the the largest sites in the world (and a high-risk application too!), has officially dropped Java and went completely to JavaScript and node.js within 11 months (more on that in the article) on all their “consumer facing web applications”.

The results are dramatic:

  • Double the requests per second vs. the Java application. (using a single core for the node.js application compared to five cores in Java)
  • 35% decrease in the average response time for the same page
  • Built almost twice as fast with fewer people
  • Written in 33% fewer lines of code
  • Constructed with 40% fewer files

Statement from CTO:

“This provided encouraging evidence to show that our teams could move faster with JavaScript. We were sold and made the decision to put the Java app on hold while we doubled down on the JavaScript one. The great news is that the Java engineers on the project, unsure about node.js in the beginning, delightfully moved over to node.js and are happily committing to a parallel work stream, providing us with double the productivity we were originally seeing.”

This is (afaik) the first time such a huge app/company has been rebuilt on node.js, and it shows that the still-in-alpha-state node.js obviously can handle extremely professional stuff. A lot of other (much smaller) applications have also been built and grown very sucessfully with node.js/js. It might be useful to have an eye on that development, this might be the future for high-traffic applications.

The official statement from PayPal’s engineering blog:
https://www.paypal-engineering.com/2013/11/22/node-js-at-paypal/

 

This article was written quite a while ago (8 years), please keep this in mind when using the information written here. Links, code and commands might be outdated or broken.

Random articles

  •  Netflix JavaScript Talks about ECMAScript 7: The Evolution of JavaScript Netflix JavaScript Talks about ECMAScript 7: The Evolution of JavaScript
  • Going node.js at Netflix (Slides by Micah R of Netflix)Going node.js at Netflix (Slides by Micah R of Netflix)
  • The New Era of JavaScript (28min conference talk, Jack Franklin, 2013)The New Era of JavaScript (28min conference talk, Jack Franklin, 2013)
  • JavaScript Testing Tactics (21min video by Justin Searls)JavaScript Testing Tactics (21min video by Justin Searls)
  • How JavaScript really works – An introduction into the JavaScript call stack by Philip Roberts (20min video)How JavaScript really works – An introduction into the JavaScript call stack by Philip Roberts (20min video)
  • O’Reilly’s Learning JavaScript Design Patterns by Addy Osmani for freeO’Reilly’s Learning JavaScript Design Patterns by Addy Osmani for free
  • O’Reilly’s Programming JavaScript Applications  by Eric Elliott for free (Early Access release)O’Reilly’s Programming JavaScript Applications by Eric Elliott for free (Early Access release)
  • [german] Modernes Frontend-Development mit Bower, Grunt, Yeoman (45min Video, Thorsten Rinne auf der IPC2013)[german] Modernes Frontend-Development mit Bower, Grunt, Yeoman (45min Video, Thorsten Rinne auf der IPC2013)
  • Learn AngularJS in 20 (or 90) minutes with Dan WahlinLearn AngularJS in 20 (or 90) minutes with Dan Wahlin
JavaScriptJSnode.js
Share this

Leave A Comment Cancel reply

All new features of WordPress 3.9 in this 2 minute video

This article was written quite a while ago (8 years), please keep this in mind when using the information written

Interesting stats on SONY’s hacked passwords

In 2011 SONY’s Playstation network got hacked, 77 million accounts have been compromised, and more than 1.000.000 passwords – saved

Experimenting with HHVM at Etsy (Link)

Extremely interesting blog post of Etsy on how they try out HHVM / HipHop: https://codeascraft.com/2015/04/06/experimenting-with-hhvm-at-etsy/ This article was written quite

vagrant

How to setup a local server (in a virtual machine) with Vagrant in PHPStorm

This is part 1 of a series on How to get a modern workflow in PHP development. Part 2 is

php

Postmodern PHP: appserver.io, a multithreaded application server for PHP, written in PHP

There’s a lot of very interesting stuff going on in the PHP scene right now, I have the feeling this

vagrant

Generate Vagrant boxes with Laravel, HipHop, Nginx, WordPress, MySQL, MariaDB, MongoDB, RabbitMQ etc. with one click

Excellent new web tool: Protobox allows extremely easy setup of Vagrant boxes using a wonderful web UI. Beside the standard

nginx php 5.5

[Link] Set up Nginx with PHP 5.5 easily

As there are surprisingly no good tutorials on how to set up NGINX with PHP 5.5 properly, here’s an excellent

digitalocean coupon

Free $10 coupon for DigitalOcean SSD cloud VPS hosting

DigitalOcean puts out another coupon, this time for free $10 with the code SSD2014. The company offers small and big

How to show memory usage (Ubuntu)

Always very useful: A simple command to show memory usage (Ubuntu / linux distros). cat /proc/meminfo   This article was

php

How to install sqlite driver for PHP in Ubuntu & Debian

It’s easy to install sqlite (for usage with PHP): sudo apt-get install php5-sqlite This will also restart apache (on modern

1/4

Categories

Search

How to setup a config-free WordPress, PHP and MySQL (for local development) in Windows 7 / 8 in under 3 minutes
ubuntu-14.04-lts
First view: Ubuntu 14.04 LTS brings PHP 5.5 and Apache 2.4
node.js
PayPal drops Java, goes node.js / JavaScript
hiphop php
Vote for “Hack” for HipHop/HHMV support (future style PHP) in PHPStorm 8
ilovepreloaders – A tumblr collection of preloader animations
Frontend Ops Conf 2014 – Keynote by Alex Sexton: “Front End Operations”
mod-rewrite-ubuntu-14-04-lts
How to enable mod_rewrite in Ubuntu 12.04 LTS
organizing css
Jonathan Snook – CSS is a Mess – How to organize CSS in big projects (54min video talk)
php uk conference
Profiling PHP Applications by Bastian Hofmann (video from PHP UK Conference 2014)
Microsoft enters post-password era with Hello (promo video)
times-new-roman
The Times talks about Times New Roman (3min video)
composer
How to install Composer on Windows 7 / 8 or Ubuntu
phpstorm-8
PHPStorm 8 (early access version) released – for free
hearthbleed-ssl-bug
The SSL Heartbleed bug explained in 30 seconds
css3-chrome-font
[Link] Retinafy your Site / Device by Nijiko Yonskai

Tags

apache bash centos composer conference coupon CSS debian fonts framework git GitHub hack HHVM HipHop HTML HTML5 IDE JavaScript JS LAMP laravel linux mod_rewrite MVC MySQL Nginx optimization PHP PHP 5.5 PHP 5.6 phpmyadmin PHPStorm security server SSD Ubuntu UI UX vagrant video virtual machine voucher VPS wordpress
Side-Project: Wordle-Solver:
www.wordle-helper.info

Pages

  • Privacy Policy
 
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT