Depends on the time distribution (CPU/IO) for each request and the usage of synchronisation in your application.
The typical behaviour on a single processor machine should be between the figures you see and the figures that your boss expects. > -----Urspr�ngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Gesendet: Dienstag, 11. Dezember 2001 10:22 > An: [EMAIL PROTECTED] > Betreff: Help: 4 clients vs 1 client > > > Hello, > > The system of my company consists of an Apache + Tomcat 3.2 > server and a database server. An application is being > developed, it involves calling a tomcat servlet which > retrieves records from the database server and then use the > records to build an XML. I've tested the times required to > run from 1000 to 20000 records for a single client, and then > tested the times for 4 clients. I found that the average time > needed for 4 clients to build the XML with 'n' records is > always similar to the time needed for a single client to > build with '4n' records(excluding the time to fetch the > database). Is this pattern reasonable? My boss suggests that > 4 clients to build 'n' records should be similar to a single > client to build 'n' records as servlets involve some kinds of > threading mechanism. If it is true, what are the means to > improve to get a better pattern? Please give me some opinions, thanks. > > McMug > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
