|
Aaron
you have played with EXT JS that is highly asynchronly and event driven -
without libuv - so how do you explain that?
On Wed, Oct 14, 2015 at 5:45 PM, Aaron Bartell <aaronbartell@xxxxxxxxx>
wrote:
Hi Henrik,right
As I understand it, it isn't V8 that affords the asynchrony and instead
libuv.
I think we can probably learn our answer from this page (I am reading
now): https://nikhilm.github.io/uvbook/basics.htmluse
Aaron Bartell
litmis.com - Services for open source on IBM i
On Wed, Oct 14, 2015 at 10:36 AM, Henrik Rützou <hr@xxxxxxxxxxxx> wrote:
Aaron(a
I think Tim is the best to answer that question or I can write Lars Bak
fellow
Danish) that made the V8 and thereby the C code
On Wed, Oct 14, 2015 at 5:32 PM, Aaron Bartell <aaronbartell@xxxxxxxxx
wrote:
So, if I'm understanding you correctly, cluster won't allow us to
willmultiple cores on the IBM i because IBM i jobs run as single threads.
Cluster *will* allow multiple cores to be used, but multiple cores
yetalso be used without the cluster npm, though only when a Node.js APIcalls
upon a C API to do the threading. This is what Henrik and I aren't
KCookson@xxxxxxxxxxxxin
agreement about.
Aaron Bartell
litmis.com - Services for open source on IBM i
On Wed, Oct 14, 2015 at 10:26 AM, Kelly Cookson <
usewhich
wrote:processes)
Aaron,
He's talking about deliberate delegation of IBM i jobs (aka
so multiple Javascript statements can be run in true parallel,
theis not possible with a single process. But this doesn't address
blockingC threads where Node.js APIs deliberately offload known I/O
toas I
C threads.
When Node.js does that offloading there is in fact multiple cores
being used that originated from a single Node.js process (again,
understand it).
I sent my last email before I received your response above.
So, if I'm understanding you correctly, cluster won't allow us to
threads.multiple cores on the IBM i because IBM i jobs run as single
handsHowever, this is not such a big deal, since the node event loop
executedoff
I/O blocking code to worker threads. The worker threads are
understanding.in C
and take advantage of IBM i's multiple cores.
I recognize your caveat that you are sharing your best
KellyBut
I want to make sure that I have the gist of what you are saying.
Thanks,
Kelly Cookson
IT Project Leader
Dot Foods, Inc.
1.217.773.4486 ext. 12676
kcookson@xxxxxxxxxxxx
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of
IBMCookson
Sent: Wednesday, October 14, 2015 9:46 AM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] Hosting a Large Number of Node Apps on the
ito
Henrik,
Out of curiosity, why is it that the cluster module can't be used
IBMtakeHenrik
advantage of multiple cores on the IBM i?
Thanks,
Kelly Cookson
IT Project Leader
Dot Foods, Inc.
1.217.773.4486 ext. 12676
kcookson@xxxxxxxxxxxx
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of
Rützou
Sent: Wednesday, October 14, 2015 9:30 AM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] Hosting a Large Number of Node Apps on the
ias I
aaronbartell@xxxxxxxxx
Aaron
here is a link ...
http://cjihrig.com/blog/scaling-node-js-applications/
On Wed, Oct 14, 2015 at 4:23 PM, Aaron Bartell <
instance
wrote:
it cannot use several cores at the same time so one node.js
thread,islimited to what processing power one core is able to deliever.
Are you sure this is correct and do you have a source for your
information that we can review? Yes, Node.js runs as a single
blockingbut the underlying C architecture of Node.js uses threads for
I/O calls (i.e. file system, networking, etc). So that means,
manyunderstand it, that a single Node.js server could make use of
sowrote:cores because of the underlying C threads.
Aaron Bartell
litmis.com - Services for open source on IBM i
On Wed, Oct 14, 2015 at 9:15 AM, Henrik Rützou <hr@xxxxxxxxxxxx>
Tim
I was not saying that a single node.js instance was glued to a
specific core but it cannot use several cores at the same time
addressedplatforms.one node.js instanceis
limited to what processing power one core is able to deliever.
This is not IBM Power specific, it is the same on all hw
External
On Wed, Oct 14, 2015 at 3:40 PM, Kelly Cookson
<KCookson@xxxxxxxxxxxx>
wrote:
Nathan,
Kelly is asking about a mix of both types of routing -
routing
within a reverse-proxy / load-balancer as well as internal
routing within Node's own HTTP service.
That's correct. I think my concerns have pretty well
inapps
forpeople's
responses. I probably want to use a combination of strategies
setting
up routes. For example:
* use a web server as a reverse proxy that routes to node
apponrunning
their own ports,
* use something like vhost or http-node-proxy within a node
bythatthat routes to other node apps running on their own ports,
* use something like the ExpressJS router within a node app
thatroutesto
modules or sub-apps that run within the same port.
* use something like the ExpressJS router within a node app
routesto
different pages of the app.
I don't need to worry so much about the number of ports used
benodeapps.
I didn't hear that any of the routing strategies above would
fororbetter
worse when it comes to setting up a production environment
Ofreversefail-over
and load balancing--especially if I use a web server as a
wouldproxy.
And I didn't hear that any of the routing strategies above
bebetter
or worse for scaling up node apps (e.g., clustering).
Thanks,
Kelly Cookson
IT Project Leader
Dot Foods, Inc.
1.217.773.4486 ext. 12676
kcookson@xxxxxxxxxxxx
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf
thetheNathan Andelin
Sent: Wednesday, October 14, 2015 7:46 AM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] Hosting a Large Number of Node Apps on
IBM i
I am sure Kelly is talking about the top level routing to
Externalapp and how to handle that as opposed to the question of"screens"
internal routing to
within the app.
Kelly is asking about a mix of both types of routing -
HTTPinternalrouting within a reverse-proxy / load-balancer as well as
withinrouting
Node's own HTTP service.
How would one configure both so that a broadly-scoped system
performs well, scales well, you don't introduce too many
(WEB400)(WEB400)restarts?
--
This is the Web Enabling the IBM i (AS/400 and iSeries)
subscribe,mailing
list To post a message email: WEB400@xxxxxxxxxxxx To
(WEB400)takeunsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx Before posting, please
a moment to review the archives at
http://archive.midrange.com/web400.
--
This is the Web Enabling the IBM i (AS/400 and iSeries)
takemailing
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
a moment to review the archives at
http://archive.midrange.com/web400.
--
Regards,
Henrik Rützou
http://powerEXT.com <http://powerext.com/>
--
This is the Web Enabling the IBM i (AS/400 and iSeries)
mailingtakemailing 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
amailing
http://archive.midrange.com/web400.moment to review the archives at
mailing--
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.
--
Regards,
Henrik Rützou
http://powerEXT.com <http://powerext.com/>
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
mailinglist 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.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
mailinglist 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.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
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.
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
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.
--
Regards,
Henrik Rützou
http://powerEXT.com <http://powerext.com/>
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
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.
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.
--
Regards,
Henrik Rützou
http://powerEXT.com <http://powerext.com/>
--
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 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.