HP3000-L Archives

March 2003, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Wonsil <[log in to unmask]>
Reply To:
Date:
Mon, 24 Mar 2003 07:49:23 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
HP-3000 Systems Discussion wrote:
> Hi All,
>
> I am using a socket listener program in HP3000 which listens to a
> particular port for incoming requests.
>
> The requests are coming from the Internet to make some updations to
> the TurboImage database. The front end is a ASP.NET with WEB SERVICES
> doing the business logic (putting the TI updation request in the
> socket).
>
> Coming to the socket side, we have a call socket (listener program)
> which will create a virtual socket (Child program spawned from
> listener program) for every request from the WEB SERVICES.
<snip />
> Any pointers would be extremely helpful.

One thing you may want to consider is connection/object pooling.  Why not
write an object that connects to the 3000 and keeps the connection open,
then pool that object?  .NET has that capability
(http://www.microsoft.com/mspress/books/toc/6723.asp)  This simplifies the
socket programming on MPE and probably gives you a performance boost since
you won't have to keep negotiating new sockets.  This approach also gives
you the ability to have multiple web servers sending data to the 3000.

FWIW.

Mark W.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2