|
Have a "mother router" program that sits under Apache and all it does isI'm not going to go too deep into this today, but I am a little hazy on some specific issues. Let's say you have 100 users doing order entry. They're all calling the same program. Is there only a single instance of this program? Or is there one per user? If it's the former, then that program will have to restore state based on the session ID for every request. This is what we had back in the days of NEP-MRT CCP, and it's *not* a trivial task, especially as the programs grow.
receives in HTTP requests from the browser and based on a hidden form value
(or cookie storing a session ID) it would appropriately "write" that request
to a keyed data queue where a program is waiting for that specific session
key. Upon receiving the data queue entry, the business logic program
processes the contents of the HTTP post by evaluating the action that was
taken (just like how green screen programming checks for the function key).
It then determines what to respond with and goes back into a wait state on a
data queue "read" (just like waiting on EXFMT). The benefit in this case is
that all global variables, open data paths, and SQL cursors were able to
remain open and stateful as it relates to that specific users interactions.
The data queue layer is basically acting as the replacement mechanism for
EXFMT.
The issue I had previously is that each web browsing user had their own job
on the iSeries which could potentially become burdensome for a public
website with thousands of users coming in.
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.