|
Hi Aaron
and my apologies if I was a little rough on you ;-)
On Wed, Oct 14, 2015 at 7:34 PM, Aaron Bartell
<aaronbartell@xxxxxxxxx>
wrote:
Hi Henrik,
My apologies if I stated libuv was part of the Javascript language.
Other than that, yes, it appears we are on the same page now.
Aaron Bartell
litmis.com - Services for open source on IBM i
On Wed, Oct 14, 2015 at 12:19 PM, Henrik Rützou <hr@xxxxxxxxxxxx> wrote:
AaronC
so we agree, libev/libuv isn't part of the javascript language but
is a
program that runs under V8 excluselive on servers under node.js asearlier**.
a npm and it may be multi-threaded just as a call to a java class
may run multi-threaded if call from an ILE (RPG) program.
On Wed, Oct 14, 2015 at 7:07 PM, Aaron Bartell
<aaronbartell@xxxxxxxxx>
wrote:
Hi Henrik,makes
Agreed, the Javascript runtime is single threaded. It is libuv
that
threads happen. Here is an excerpt from the URL I forwarded
to
"How the I/O is run in the background is not of our concern, but
due
thethe
way our computer hardware works, with the thread as the basic
unit of
sameprocessor, libuv and OSes will usually run background/workerand/or
threads
polling to perform tasks in a non-blocking manner."call
Again, Javascript runtime is still single threaded BUT when it
makes a
to libuv, that libuv call could be to spawn a new thread within
that
block. Iprocess to do things that would cause the Javascript runtime to
wrote:see Nathan has responded and he explains it better than I have.
**https://nikhilm.github.io/uvbook/basics.html
Aaron Bartell
litmis.com - Services for open source on IBM i
On Wed, Oct 14, 2015 at 11:49 AM, Henrik Rützou <hr@xxxxxxxxxxxx>
muli-threaded)single
Aaron
what you are stating doesn't make sense. Javascript is known as
a
threaded
event driven and asynchronously (not to be confused with
instructionsOO
languageexactly
(Class or Prototype based).
Google's V8 javascript machine that runs in your chrome browser
is
the same that
the one that runs in node.js.
Putting a layer benieth it om a server that just executes
thathere
and there would
completely ruin the language and the JVM since you can't be
sure
one100 is
instruction in line
100 is processed before line 101 that may rely on result in
line
reverse-proxies /finished.
On Wed, Oct 14, 2015 at 6:38 PM, Nathan Andelin
<nandelin@xxxxxxxxx
wrote:
I'm always open to other points of view.
There seems to be general agreement about external
multipleload-balancers being an effective means of "routing" work to
internalNGiNX,Node.js instances (Jobs), which ensures scalability andsupport.
fail-over
There doesn't seem to be much distinction whether one uses
IIS,
Apache, or whatever for external request routing.
It would be nice to see some benchmarks pertaining to Node's
"routing"afterload-balancing via the "Cluster" module. I'd be a bit wary of
it
just
reading the documentation.
The question that has me the most stumped is the one about
withinwithpotentially thousands of URLs to appropriate JavaScript
routines,
each
routine pertaining to various "applications" within "modules"
mailingmailingservices)?"major-system-areas" (however you organize you broadly-scoped
mailingperformance
Kevin indicated that Node has to be restarted each time a
routing configuration changes in Sails. Inline-coding of
routes in Express obviously suffers from the same problem.
I'd be concerned about
as the number of URLs increase.
--
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)
--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.
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/>
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.