File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Service Level Requirement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Service Level Requirement" Watch "Service Level Requirement" New topic

Service Level Requirement

Nancy Dawson

Joined: Sep 17, 2006
Posts: 13
There is this Service Level Requirement that states that response time should not be more that
10 seconds for web users and 5 seconds for Agents, Is there a Design Pattern that can enable this
Ricardo Ferreira
Ranch Hand

Joined: Feb 13, 2006
Posts: 156

There's no design pattern available to ensure this QoS requirement. You must define a intensive analysis onto the designed system and measure the response time using tools or frameworks.

The response time for a given process or operation is associated with a number of factors that can increase or decrease that number, like the number of transactions, the concurrent users at certain time, the number of nodes distributable for the application (application server, database server, redundante servers)

After you mitigate what points of your design are decreasing the performance, you can do something with patterns, for example, using the Flyweight pattern to ensure pooling at your beans and pojos, or using Caching Service Locators to cache the remote references of yours Enterprise Beans.

But the exacly answer about how to mitigate those Qos requirements, envolves stress tests and very refined analysis.

Best Regards

Ricardo Ferreira,<br /> <br />Sun Certified Enterprise Architect<br />IBM Certified SOA Solution Designer<br />IBM Certified RUP v7.0 Solution Designer<br />IBM Certified Specialist for RUP v2003
I agree. Here's the link:
subject: Service Level Requirement
It's not a secret anymore!