Performance of Shark

"Neville van Deventer" <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
Hi List, 

I'm having a slight performance issue, and I'm not sure if the speed I'm
getting is right.

Here's the Setup

3 Servers

Srv       Name      Function                    Running on
-----------------------------------------------------------
MVC       MVC       Model View Controller       Jboss 4.0.0, Windows 2000
SHK       Shark     Workflow Server             Tomcat 5.5.9, Windows 2000
ESB       ESB       MDB's and message Q's       Jboss 4.0.0, Windows 2003
Server

SHK Used to run on Jboss 4.0.0, but since Shark 1.1, the Shark Library does
not start up in Jboss.

Request
-------
User Clicks for a Page, this is what Happens :
1) MVC Contacts SHK via our own comms method
2) SHK Loads the Package if it's not Loaded, if it needs to load it
generates the required Participant Mappings.
3) SHK Starts a new User Process, with the appropriate request variables
placed on the context map.
4) SHK in this process calls a wrapper to send a request to MDB For the
required Information.
5) SHK Waits for the next Activity, or if the process comes to a end will
return.
6) SHK Sends a updated message back to the MVC.

Some Timing for as Request
Run 1 ( No Package Loaded yet, i.e. First Run )
-----
MVC Report

<!-- Report on Shark 
MVC Shark Proxy request Time = 17672ms

Shark Message Received:
Logon Time = 0ms
Request Time = 16703ms
Get Next Activity Time = 515ms
Logoff Time = 0ms
------------------------------------------------
Total Time = 17218ms

Total Wrapper Time = 8906ms
-->

In Short:
MVC - SHK Communication & Transfer = 454ms
SHK Process Time = 7797
SHK - MDB Wrapper Time = 8906ms
SHK Wait next Activity = 515ms

Run 2 ( Package Loaded i.e. Just need to start the process and go )
-----
MVC Report

<!-- Report on Shark 

 MVC Shark Proxy request Time = 2907ms

Shark Message Received:
Logon Time = 0ms
Request Time = 2312ms
Get Next Activity Time = 516ms
Logoff Time = 0ms
------------------------------------------------
Total Time = 2828ms

Total Wrapper Time = 484ms
-->

In Short:
MVC - SHK Communication & Transfer = 79ms
SHK Process Time = 1828
SHK - MDB Wrapper Time = 484ms
SHK Wait next Activity = 516ms

Run 3
-----
<!-- Report on Shark 

 MVC Shark Proxy request Time = 2875ms

Shark Message Received:
Logon Time = 16ms
Request Time = 2250ms
Get Next Activity Time = 531ms
Logoff Time = 0ms
------------------------------------------------
Total Time = 2797ms

Total Wrapper Time = 203ms
-->

In Short:
MVC - SHK Communication & Transfer = 78ms
SHK Process Time = 2047
SHK - MDB Wrapper Time = 203ms
SHK Wait next Activity = 531ms



As you can see Shark Process Takes up the most time here, and these results
are with me on the system only, we have a dev team of 5, and when we are all
on the system, the very same process I have run above goes up to about 10
000ms.

The targeted amount of users is approx 500 concurrent ....


Thanks for any Input into this ..


Neville van Deventer
message-footer.txt (text/plain, 271 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.