× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Niels

so now node.js it out and Oracle Nashorn is in?

On Fri, Oct 16, 2015 at 11:44 PM, Niels Liisberg <NLI@xxxxxxxxxxxxxxxxx>
wrote:

.. And therefor … maybe one of the most insteresting features in releasing
the new JVM 1.8 on the IBMI: is that it runs "Nashorn" !!! - javascript
natively on the JVM in the IBMI

I have made at ( small and premature ) project that uses the JVM on the
IBMI together with jtOpen that performs amazing javascript similar to
node.js

It is only at "what-you-can-expect" project – but if all of you guys see
the picture – it can be a quite eye openinger of what the IBMI can do with
the javascript on IBMi

Just a couple of hours work – but it rocks, and we are already using it
inhouse to wrap java libraies in javascript :

Let me share this with you:

https://github.com/NielsLiisberg/ninjaDB





Best regards

Niels Liisberg

Chief Software Architect


System & Method

Håndværkersvinget 8
DK-2970 Hørsholm
Phone: +45 70 20 30 10

Fax: +45 70 20 30 11
Direct: +45 45 166 135
Mobile: +45 31 158 861
E-mail: nli@xxxxxxxxxxxxxxxxx
Web: www.system-method.com and www.Icebreak.org

“Everything should be made as simple as possible, but not simpler.”
— Albert Einstein


From: WEB400 <web400-bounces@xxxxxxxxxxxx<mailto:
web400-bounces@xxxxxxxxxxxx>> on behalf of Nathan Andelin <
nandelin@xxxxxxxxx<mailto:nandelin@xxxxxxxxx>>
Reply-To: AS400 iSeries <web400@xxxxxxxxxxxx<mailto:web400@xxxxxxxxxxxx>>
Date: fredag den 16. oktober 2015 kl. 22.50
To: AS400 iSeries <web400@xxxxxxxxxxxx<mailto:web400@xxxxxxxxxxxx>>
Subject: Re: [WEB400] Hosting a Large Number of Node Apps on the IBM i


I do know that node is being used by companies like Walmart, LinkedIn,
PayPal, NetFlix, Dow Jones, and more. Walmart released node on Black Friday
of 2013 to handle their mobile traffic (about half of all www.walmart.com
traffic). LinkedIn is using node for all of their mobile. Are the companies
just listed using node for "simple applets," as you are conceiving simple
applets?


Kelly,

My view of Node.js has been shaped mostly by discussions on this list. I'm
not very aware of how it might be used at the high-profile organizations
that you've listed.

Personally, I'm interested in using Node.js as a broadcast service for
Websocket listeners as part of an online meeting application. I could
imagine similar uses at NetFlix and Dow Jones.

But this discussion is about hosting large numbers of apps; Say ERP-class
systems. And we're still perplexed by concerns such as "request routing"
within Node.js, having to restart the service every time a new "route" is
added, and the probability of developers doing something that will cause
the entire environment (HTTP, request routing, and all applications) to
fail.

Nobody has been able to address those concerns, and I don't have the
answers either.

The link you posted in the other thread about Node.js "going up in flames"
at NetFlix concluded with:

"We made incorrect assumptions about the Express.js API without digging
further into its code base. As a result, our misuse of the Express.js API
was the ultimate root cause of our performance issue."

A Google search on "Walmart Node.js" returns a lot of references about a
major "memory leak" problem. Walmart spent $2 million between 2013-2014 on
a framework to replace Express.js. By now the cost could b up to $5
million.

One of the key Node.js developers at Walmart described their Node.js setup
as a "proxy" routing requests to their Java back-end business-rules server.

Walmart has a server farm where they deploy a single Node.js process per VM
which hosts an OS. That makes me shake my head. Possibly hundreds of VM /
OS instances running One Node.js process each?

PHP developers once boasted about Facebook as a reference site. Facebook
later revealed that their infrastructure costs were too high with PHP, so
they came up with a solution which "transformed" PHP to C, to address
performance concerns.

Please don't interpret my remarks as being anti-Node, PHP, or whatever. I
just have concerns in regards to "large numbers of apps".
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx<mailto:WEB400@xxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx<mailto:WEB400-request@xxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.