gecko-dev/mstone/src
2000-05-02 01:23:29 +00:00
..
bench.c
bench.h Isolate common http functionality 2000-05-02 01:23:29 +00:00
client.c
errexit.c
http-util.c Isolate common http functionality 2000-05-02 01:23:29 +00:00
http-util.h Isolate common http functionality 2000-05-02 01:23:29 +00:00
http.c Isolate common http functionality 2000-05-02 01:23:29 +00:00
imap4.c Isolate common http functionality 2000-05-02 01:23:29 +00:00
mailclient.dsp
mailclient.mak
main.c Isolate common http functionality 2000-05-02 01:23:29 +00:00
Makefile Isolate common http functionality 2000-05-02 01:23:29 +00:00
parse.c
pish.h Isolate common http functionality 2000-05-02 01:23:29 +00:00
pop3.c Isolate common http functionality 2000-05-02 01:23:29 +00:00
README
smtp.c Isolate common http functionality 2000-05-02 01:23:29 +00:00
sysdep.c
sysdep.h
timefunc.c
wmap.c Isolate common http functionality 2000-05-02 01:23:29 +00:00

To build on a new OS, simply edit the Makefile to reflect your
compilers and options.

Everything currently builds on Linux-2.1/2.2, Solaris-2.5.1/2.6, HPUX-11
IRIX-6.5, AIX-4.2, OSF1-4.0 and NT-4.  Operating systems without
POSIX threads (or NT threads) will be limited.

NT uses ../autobuild.bat, *.dsw, and *.mak.

Perl is imported from a common build area.

Notes on protocol plug in API:


Fundamental data structures:

event_timer_t
	Holds the critical results information.  This gets added up
over all the block in all the threads periodically during the test.

cmd_stats_t
	This holds all the dynamic information including event timers,
and state for sequencing the command block (like next login).

mail_command_t
	This hold all the read only information about a command block.

thread_context_t
	All the information about each thread.  There is one thread
per server connection.

range_t
	Integer range based on a starting number and a length.  This
can be sequentially or randomly returned.  This needs to be adjusted
for each command thread.

protocol_t
	This defines the callbacks and shared information for each protocol.



Adding a new protocol:
	Create all the handler functions.  Look at smtp.c for an example

	Add the entry to g_protocols in main.c

	Add it to the makefiles


Design issues:
	Timing accuracy

	Scalability (current limit is 26000 clients/machine)

	Extendibility

	Memory use (limits scalability)

	Result data efficiency