The thread/jobs only start if there are no others free, otherwise they get re-used. It doesn't start new job with every single request.

On 30 Dec 2016, at 19:15, Mark Murphy/STAR BASE Consulting Inc. <mmurphy@xxxxxxxxxxxxxxx> wrote:

Job start is an expensive operation. How do you maintain an acceptable response time, or do your menu clicks just take a very long time. Some web sites do, I am just wondering.

Mark Murphy
Atlas Data Systems
mmurphy@xxxxxxxxxxxxxxx


-----Nathan Andelin <nandelin@xxxxxxxxx> wrote: -----
To: "Web Enabling the IBM i (AS/400 and iSeries)" <web400@xxxxxxxxxxxx>
From: Nathan Andelin <nandelin@xxxxxxxxx>
Date: 12/30/2016 11:54AM
Subject: Re: [WEB400] In-house authentication & authorization



By dispatcher I mean an app whose sole purpose is to spawn processes for
new incoming requests.


Okay. That's how the IBM i HTTP CGI interface works. The main HTTP process
may spawn additional CGI JOBs to handle new incoming requests, or
alternatively pass requests to idle JOB instances.

But the scenario I posed, was referring to a web portal program, which
submits new JOBs when users click on menu items, and using an HTTP plug-in
to "route" requests to them. End-user state is maintained in each JOB. This
is somewhat similar to persistent CGI. Except users have control over
starting and ending JOBs. Menu item click starts the JOB, while an "Exit"
link ends the JOB and returns users to a menu.

Big questions:
1. What server language/framework are using?
2. How do get user requests to their personal job?


Our web portal and framework is delineated at:

http://www.relational-data.com/content/portal/

Our server language is ILE RPG. If you'd like to see a demo, please contact
me off-list.
--
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.

[https://www.netcracker.com/assets/img/netcracker-social-final.png] ƕ



________________________________
The information transmitted herein is intended only for the person or entity to which it is addressed and may contain confidential, proprietary and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.