W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1998

Questions...

From: <David_Dickey@infonautics.com>
Date: Fri, 10 Jul 1998 13:33:14 -0400 (EDT)
To: www-lib@w3.org
Message-ID: <8525663D.005C4381.00@buddy-mx.infonautics.com>
     Hello, my name is David and I have a problem.  My problem is that I am
new to this whole w3c library.  But that's not really my problem.  I am a
sophomore in college majoring in Computer Science.  This summer I became
employed by Infonautics which runs a great product which you may have heard
of 'Electric Library' (www.elibrary.com).  I took on the job of making a
Web Simulator and Stress Testing tool which would "simply" log onto the web
manager and simulate web usage.  If we wanted to see what the server was
capable of we could turn up the users to an ungodly amount and see how the
server handles it.
     We decided to write it in C because of the threading and w3c-library.
The concept is that this program will spawn off threads which will follow a
user model and use the w3c library to communicate via the web.  I have
programmed the threading aspect of it already and it works great but now it
is time to figure out the w3c library and I have come to a complete halt.
I am familiar but not comfortable with "classes" like those found in C++
and which your library seems to revolve around.  I have been reading your
documentation but still don't see the "big picture".  Since I only have
about 6 more weeks left before I go back to college I need some help
figuring this all out.

     Sorry for the background but to better answer my questions it was
necessary.

     This brings me to a few questions and requests.

     Q)  I am worried that the library will fail in a MT program.  What
should I stay away from?  Is the Event loop MT safe or would I be better
off making it preemtive?  I have seen some discussions on this topic but
nothing substantial.

     R)  Does anybody have a simple program which downloads a page and
retrieves all of the images.  (I have tried to figure it out from the
LineMode browser but it is just too big to sift through.  The CommandLine
program is very simple and I have manipulated it to perform different
chores but still haven't been able to figure out how to store and capture
the URLs of the images or the HyperLinks.)

     R)  If anyone can give me pointers (bad pun) on how they would
approach this aspect of my project your comments are very appreciated.  For
your information I am writting this on a UNIX platform.
Received on Monday, 13 July 1998 01:17:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:28 GMT