>>> Ray Tayek <[EMAIL PROTECTED]> 4/3/99 10:17:20 PM >>>
>i seemed to get about a 10x improvement (over a dialup line) by
placing 100
>queries into a queue that has 20 threads (that already have a
connection)
>emptying the queue.

>they currently use a cgi script to fork a process that queries the
database
>(apache on linux). other than having jsp by hunter and crawford, i
am
>ignorant of servlets (as well a databases).

>this seems like a remarkable speedup - almost too good to be true
(am i
>doing something wrong?). for the test, i canned each "query" as 3
simple
>queries. are result like this typical?

This is not untypical.

Don't forget you are getting 3 performance enhancements here:

1. multi-threaded nature of the servlet environment (no need to
fork)
2. persistent nature of the servlet environment (no need to load any
code on Thread switch)
3. your connection queuing system





Nic Ferrier
Tapsell-Ferrier Ltd
www.tapsellferrier.co.uk

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to