Hi all!
I'm trying out orion for productional use and I've encountered something
odd. Mapping a servlet with wildcards gives, IMHO, a massive overhead.

The servlet I'm running has only got init() and service()
implementations, both of them are empty.

My performance measurements:

With servlet mapped to "/lektor/entry/*":
URL : http://localhost:8090/lektor/entry

1215 requests, avg. req time: 121 ms, req/second: 80.03425334299453
1283 requests, avg. req time: 122 ms, req/second: 79.24155394972516
1354 requests, avg. req time: 123 ms, req/second: 78.71635370036626
1436 requests, avg. req time: 123 ms, req/second: 78.85344022843337
1488 requests, avg. req time: 124 ms, req/second: 77.41532698610894
1575 requests, avg. req time: 125 ms, req/second: 77.8508229944145

With servlet mapped to "/lektor/entry":
URL : http://localhost:8090/lektor/entry

671 requests, avg. req time: 39 ms, req/second: 163.97849462365593
855 requests, avg. req time: 39 ms, req/second: 167.5813406507252
1043 requests, avg. req time: 52 ms, req/second: 170.5641864268193
1217 requests, avg. req time: 53 ms, req/second: 170.63937184520472
1413 requests, avg. req time: 53 ms, req/second: 173.26793378295525
1577 requests, avg. req time: 54 ms, req/second: 172.14277917257942


This gives the impression that there is an 80ms overhead for mapping
servlets with wildcards. One would expect a small overhead but this seems
to be a bit too much to me.

Orion-developers: 
 - is this a known problem?
 - are the 80ms considered to be acceptable? 
(Since the performance of orion is so excellent apart from this problem,
this does not seem to be acceptable to me)



/Rgrds. Jimmy

__________________________________________________________________________
Jimmy Larsson, Nätakademin AB, http://www.natakademin.se                 
  e-mail: [EMAIL PROTECTED]
  Tel: 08 - 751 00 40, 070 - 950 39 65

Reply via email to