<snip>
I don't want to do it both ways just to compare them right now. I guess I
was wondering if anyone else was using their own listening sockets in RPG to
respond to XML requests instead of using CGIBIN2 or eRPG SDK or whatever.
<snip>
Yes we do.
Not that we wanted it but there are places where they just do not allow to
start a webserver.....
How it works??
Lets say it is a chapter 7 application.
A little adapted to make it a little more general so we can use the same
framework to process what ever data.
Works fine, very fine.
Regards,
Eduard.
----- Original Message ----
From: Douglas Handy <dhandy@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Thursday, May 31, 2007 5:36:00 PM
Subject: Re: Setup Apache/CGIDEV2 vs private RPG based server
Scott,
Your RPG (or any ILE language) program can call the GSKit APIs directly
to get SSL support, if you decide to go that route.
That is good to know; I'll be sure to look that up if I decide to go that
route.
I just figured running Apache would take many more resources than a
relatively simple socket program such as those in your tutorials.
That may be true? I imagine that Apache uses quite a bit of storage,
but does that matter if you have a single-level store system, where disk
is used for stuff that's infrequently used?
Disk isn't a primary concern here; the i5 dasd is at about 27%. I was
thinking more of pool sizes. I was speculating that Apache may need a
decent size memory pool to be efficient, though all I'm (currently) looking
for it to do is call one or two CGI programs.
Also, Apache is multi-threaded. ...
Which most likely doesn't provide significant advantages over the paradigm
in chapter 7 of your tutorial when all I need is to monitor for a couple of
specific requests and process them.
The anticipated total volume is fairly low, so concurrent volume should be
lower yet. The chapter 6.1.1 paradigm may even suffice for their purposes.
Like I said, it's hard to say without really comparing them.
I don't want to do it both ways just to compare them right now. I guess I
was wondering if anyone else was using their own listening sockets in RPG to
respond to XML requests instead of using CGIBIN2 or eRPG SDK or whatever.
Doug
As an Amazon Associate we earn from qualifying purchases.