Java Houses Adopting Node.js

566 views
Skip to first unread message

Adam Davies

unread,
Jun 26, 2014, 4:35:22 AM6/26/14
to nod...@googlegroups.com
Hi All,

Does anybody know of case studies or have direct experience of a ecommerce companies which have been using Java for many years converting over to node.js?

The reason why I ask is because we at Screwfix.com are going through a process of looking at new technologies and defineing our strategy over the next 5 years for so, and node keeps coming up in conversions. However, there is little in-house knowledge of node usage for our particular company size and profile.

If anyone can provide a steer it would be really appreciated.

Thanks
Adam

Angel Java Lopez

unread,
Jun 26, 2014, 1:48:08 PM6/26/14
to nod...@googlegroups.com
Maybe, a case study is PayPal


They created Kraken

more info

According to PayPal speaker, at JsConf Montevideo 2014, some times, the business people talk about requirements, and the dev team was busy in their notebooks. When the business people ended, asked "do you take notes?" the notebook had the implemented prototype ready ;-)

Angel "Java" Lopez
@ajlopez


--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/adb92269-61b5-4663-9821-07d719b6dfe9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Brett Ritter

unread,
Jun 26, 2014, 3:28:20 PM6/26/14
to nod...@googlegroups.com
On Thu, Jun 26, 2014 at 1:35 AM, Adam Davies <cleved...@googlemail.com> wrote:
> Does anybody know of case studies or have direct experience of a ecommerce companies which have been using Java for many years converting over to node.js?

I know Walmart moved their services layer from Java (Wicket) to Node, and they seem pretty happy and have done a number of talks on the topic.

Googling "walmart node" gave me a ton of links, some of which may be helpful to you.

--
Brett Ritter / SwiftOne
swif...@swiftone.org

Trygve Lie

unread,
Jun 26, 2014, 8:54:06 PM6/26/14
to nod...@googlegroups.com

Luc Renambot

unread,
Jun 26, 2014, 9:52:25 PM6/26/14
to nod...@googlegroups.com
There's a youtube video on Groupon switching from ruby to node.js

Luc

Adam Davies

unread,
Jun 27, 2014, 9:38:20 AM6/27/14
to nod...@googlegroups.com
OK, thanks for all the replys.

I can understand why Walmart dropped Wickets for Node.js as wickets is a pretty inefficient technology for the modern era (Java tags embedded in HTML and mapping to java objects on the server).

Does anyone how node is used in their architecture? i.e. is it just a front controller serving html pages which use Ajax to connect to Java services, or is it much more baked in than that?

The same question apply to paypal. Are they re-writing everything in JS or using node to front services?


Thanks again.

Brett Ritter

unread,
Jun 27, 2014, 3:42:13 PM6/27/14
to nod...@googlegroups.com
On Fri, Jun 27, 2014 at 6:38 AM, Adam Davies <cleved...@googlemail.com> wrote:
> I can understand why Walmart dropped Wickets for Node.js as wickets is a pretty inefficient technology for the modern era (Java tags embedded in HTML and mapping to java objects on the server).

As I mentioned, it was their SERVICES layer that changed.  I'm assuming the links you can google cover in more detail.  I don't believe they've swapped out the front end at all.

greelgorke

unread,
Jun 30, 2014, 4:21:47 AM6/30/14
to nod...@googlegroups.com
In his presentation here http://nodeday.com/ Eran Hammer mentioned, that their node stack handles their complete mobile traffic.

Adam Davies

unread,
Jul 1, 2014, 4:42:36 AM7/1/14
to nod...@googlegroups.com
From this video on the Node site, http://nodejs.org/video/, tEran Hammer, Sr Architect at Walmart, they kept their Java Services layer, and used node just for serving web pages. He described Node as the "api layer...a sweet spot for an orchestration layer...a glorified proxy...taking APIs from different teams and bringing them together."

This architecture uses a hybrid approach where Node is used for orchestration, and Java is used for backed business services.

What I'm hoping to find is a large established company that has used Node through out the stack. Top to bottom.


On Thursday, 26 June 2014 09:35:22 UTC+1, Adam Davies wrote:

zladuric

unread,
Jul 1, 2014, 11:43:11 PM7/1/14
to nod...@googlegroups.com


On Thursday, June 26, 2014 10:35:22 AM UTC+2, Adam Davies wrote:
Hi All,

Does anybody know of case studies or have direct experience of a ecommerce companies which have been using Java for many years converting over to node.js?


LinkedIn is also using Node.js in parts of their stack. Here's the first Google link:


For what it's worth, I have also heard Jeff from Paypal at this years' MLOC-JS conference. As I've understood it, they're using Node as a web tier, the various heavy-weight backend is still handled in Java and others.

But the takeaway for me there was that they "won over Java on the business arguments, not technical" - meaning much much faster iterations over the old Java flow and ability to respond to (business) requests and implement them daily, almost hourly, over weeks it would take in Java.

There are a few articles of how their prototype was developed in paralell with a Java team. What I remember from the talk is that Java team had 7 people, Node.js had 3, and the Node team was done sooner and their code had much more throughput and was even a bit faster then Java, in what they used it for.

-- 
Zlatko

Adam Davies

unread,
Jul 4, 2014, 8:58:37 AM7/4/14
to nod...@googlegroups.com
Seems like the state of the art is to stick with Java services on the backend and use Node as a page server to server HTML pages content, so that Node is a kind of front-controller or proxy.




On Thursday, 26 June 2014 09:35:22 UTC+1, Adam Davies wrote:

henrique matias

unread,
Jul 5, 2014, 4:57:45 AM7/5/14
to nod...@googlegroups.com
That doesn't sound like state of art, specially on the node.js user list ! 

Why would you choose "Java services" over "Node services" ?


--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.

Zlatko Đurić

unread,
Jul 5, 2014, 4:57:47 AM7/5/14
to nod...@googlegroups.com
On 04.07.2014 14:58, Adam Davies wrote:
> Seems like the state of the art is to stick with Java services on the
> backend and use Node as a page server to server HTML pages content, so
> that Node is a kind of front-controller or proxy.
>
>

In a way. Node can do a lot of work and it can handle a whole lot of
connections, as well as route all those connections between Java
services, databases and other stuff.

The thing where it is not the best match is heavy-duty processing. So,
if you're serving images or have a webshop or something that connects to
many different warehouses to pull data from, Node is great. If you're
doing video encoding and recoding, then yep, leave that part to Java.


--
Zlatko

Brett Ritter

unread,
Jul 6, 2014, 11:15:17 PM7/6/14
to nod...@googlegroups.com
I suspect that far more often the choice is driven by existing skillsets and staff and legacy code.  Where I work, the Java-side is well-staffed and running fairly well, so moving that crew to be back end services only is a good use of our existing codebase and people.  Ergo, Node works better for our front-end than back-end - not because of _node_, but because of our current resources and legacy code.  I suspect this is a common pattern, so you'll see the "industry" do it often.  That doesn't say that Node is inappropriate for services (nor does it say it is appropriate for services).




--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscribe@googlegroups.com.

To post to this group, send email to nod...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Issac Roth

unread,
Jul 14, 2014, 3:14:23 PM7/14/14
to nod...@googlegroups.com
Sorry for the late reply here Adam.

We (StrongLoop) are working with four of the very largest ecommerce companies, all big Java shops, who are converting pieces of their systems over to node.js. Plus many smaller ecommerce companies. There are also a variety of banks with heavy Java history doing serious projects in Node. You have probably read about Walmart converting more and more of their infrastructure but they are far from alone it’s just that others are not deployed yet in the way that Paypal, Walmart, Yahoo, Docusign, eBay, Taobao, Uber, Groupon, beats, Dow Jones, ADP, Box, Sony, etc are. 

I’m not aware of any large ecommerce site running entirely on Node.js - I don’t think anyone has done a ground-up rewrite to go exclusively JS. 

Issac

Issac Roth - @ijroth
Node has arrived. Infographic

--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.

To post to this group, send email to nod...@googlegroups.com.

rtweed

unread,
Jul 23, 2014, 6:09:35 AM7/23/14
to nod...@googlegroups.com
Something I don't remember having seen anywhere is some understanding of why these Java migratees (if that's a word!) decided to look elsewhere in the first place - ie what were the pain points that the business saw in their Java infrastructure that warranted an examination of how and where Node.js could potentially help.  

In large corporates such as Walmart, the maxim "if it ain't broke, don't fix it" tends to reign supreme, so I'd be interested to hear about what was broke for them to be bothered to look elsewhere beyond Java.

So far it seems that it's mainly a recognition that having front-end folks writing JavaScript and back-end folks writing in Java creates an inefficient and artificial boundary.  It also seems that the broader benefits (performance, productivity, etc) of using Node.js emerge once the initial tests and evaluation exercises are performed.  

Perhaps it's also because these organisations try to keep abreast of new technologies and assess if and how they might benefit them, and, in the case of Node.js, realised, once they played about with it in earnest, that it had potential benefits over aspects of their Java infrastructure that they previously hadn't considered as "broke".

Anyway, I'd be interested to read any thoughts on this angle

Rob


Sam Roberts

unread,
Jul 24, 2014, 3:52:10 AM7/24/14
to nod...@googlegroups.com
On Wed, Jul 23, 2014 at 3:09 AM, rtweed <rob....@gmail.com> wrote:
> In large corporates such as Walmart, the maxim "if it ain't broke, don't fix
> it" tends to reign supreme, so I'd be interested to hear about what was
> broke for them to be bothered to look elsewhere beyond Java.

Mobile.

Existing code works well enough for low-latency high speed networks to
web browsers, but mobile apps have high latencies. This means MVC with
pages rendered on server for each request have poor usability. This
forces rework of the apps so they hit JSON APIs, when necessary, and
render as much as possible on the device. This is a big architectural
change. They could do with java, but when you do a big change like
that, maybe its time to review how you do things currently, and pull
in new tech. And since Node.js rocks... this is the time! :-)

Some companies start with a parallel node infrastructure for just
mobile, connected to enterprise backend data sources, then after its
proved workable for mobile, maybe they rework the main web sites, too,
to adopt the same approaches (or maybe do so very slowly, slowly
replacing sub-sections of the main web site with the node-based
servers that were first developed for mobile).

http://loopback.io/ is squarely targeted at this use-case, mobile apps
with enterprise back-end data sources, though you and I may just call
this "modern web app architecture".

Cheers,
Sam

George Snelling

unread,
Jul 25, 2014, 1:51:22 AM7/25/14
to nod...@googlegroups.com
+1

Mobile apps yearn to pass JSON back and forth to a resty server that fronts your core business engine.  Node is a pretty good tool for building a JSON-serving glue teir between your core engine and your mobile clients. 

Many java and c++ devs wrinkle their noses at  javascript.  After trying node, some decide that the crazy-fast productivity outweighs the crazy-ugly flaws of the language.  Some don't.  It's a team culture thing.

-g
Reply all
Reply to author
Forward
0 new messages