HP3000-L Archives

March 2004, Week 3

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:
"Emerson, Tom" <[log in to unmask]>
Reply To:
Emerson, Tom
Date:
Thu, 18 Mar 2004 09:24:55 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
> -----Original Message-----
> From: Jack Nickels [mailto:[log in to unmask]]
> 
> We have a requirement for ... data synchronization ...
> use[ing] Sockets ...
> 
> the HP3000 ... listener program ... spawns another program 
[on each connection]

this is fairly typical of socket-oriented programming
 
[...]
> We are looking at huge volume of requests ... will the HP3000 ...
> support ... 1000 transactions per minute?

1000 trx/minute = 16.66 trx/second, which gives you about .06 seconds to do whatever you need before things start to back up.

> Please note that the HP3000 side processing is very fast and 
> happens in milliseconds if the transactions are send independantly.

Well, as I said, you've got about 60 milliseconds to do what you need to do -- only you will know if this is enough or not.

> Welcome to any alternate suggestions as well apart from sockets

If process spawning overhead becomes too much, you might consider placing the bulk of the process into a daemon-like program that communicates via pairs of message files, then your "socket" program can be made a bit more "lightweight" in that it only translates socket calls to message file reads/writes [hint: you can use interrupts instead of polling...]

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

ATOM RSS1 RSS2