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
Comments Off on PayPal drops Java, goes node.js / JavaScript

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/

 

JavaScriptJSnode.js
Share this
digitalocean coupon

DigitalOcean VPS coupon codes for december 2013 and early 2014

Some (working!) coupon codes for DigitalOcean, the low-cost VPS server/hosting provider of the year. They are for NEW customers, but

Meet the developers behind Ableton (14min video)

An excellent short documentation about the developers behind Ableton, the legendary creators of Ableton Live and Push. Without doubt, Live

php

How to prevent PHP sessions being shared between different apache vhosts / different applications

When you run multiple applications on one server, you might run into the session-sharing problem: All your applications share the

Frontend Ops Conf 2014 – Rebooting Flickr On A Node.js Stack, One Page At A Time (from PHP) by Bertrand Fan

https://www.youtube.com/watch?v=vBo0aFtg1_M

set up a local virtual machine for development with vagrant and puphpet / puppet (and ubuntu, linux, php, apache, mysql)

A list of downloadable Vagrant boxes (CentOS 5.9 / 6.4, Ubuntu 12 / 13, Debian 6 / 7 / 7.1 / 7.2)

Offical boxes (directly from Vagrant) Ubuntu 12.04 LTS 32-bit http://files.vagrantup.com/precise32.box Ubuntu 12.04 LTS 64-bit http://files.vagrantup.com/precise64.box   Boxes from puppetlabs.com Seems

hiphop php

[Link] How to set up HipHop, Nginx and Laravel in Ubuntu 12.04 LTS (in a Vagrant box)

This is probably the most useful tutorial in 2014 so far. An excellent post by Chris Fidao, explaining how to

git-php-deployment

Extremely simple deployment with PHPloy

Let me ask you a question: How mad do you get when you have to remember which files you edited

php-7

PHP 6.0 will be PHP 7

Germany’s excellent PHP Magazin just posted interesting news: The next major version of PHP will be PHP 7, the development

the-php-login-project

How to install php-login-one-file on Ubuntu 12.04 LTS

This tutorial will show you how to install the one-file version of php-login.net‘s login script (see the full GitHub repository

New project: Building a naked PHP skeleton / boilerplate application from scratch

[This post is from November 2013. In the meantime (I’m writing this in November 2014) the project has changed its

1/4

Categories

Search

pdo-debug
Debug PDO with this one-line function. Yeah!
Test GZIP compression of your server easily
php
How to install/setup latest version of PHP 5.5 on Debian Wheezy 7.0/7.1/7.2 (and how to fix the GPG key error)
[Link] Improving Smashing Magazine’s Performance: A Case Study
october cms
October CMS, built on top of Laravel, is beautiful, clever and on the way to be the new #1 CMS
php
How to install sqlite driver for PHP in Ubuntu & Debian
mod-rewrite-ubuntu-14-04-lts
Which server OS version to choose ? Some EOL lists of Debian, Ubuntu and CentOS
html6
Is this the first HTML6 specification?
O’Reilly sells EVERY ebook for -50% right now!
O’Reilly’s Learning JavaScript Design Patterns by Addy Osmani for free
Stressed and unrelaxed while coding ? Try some ultra-deeply-relaxing ASMR audio clips. It will change your life. Seriously.
How to install/setup latest version of PHPMyAdmin on Ubuntu 12.04 LTS (Precise Pangolin)
the-php-login-project
How to install php-login-minimal on Ubuntu 12.04 LTS
JavaScript ECMAScript6 – A short video introduction (5min)
Microsoft enters post-password era with Hello (promo video)

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