what is the differencees between work manager and executequeue?

Answer Posted / kamal sastry

1.Unlike execute queues, all WorkManagers share a common
thread pool and a priority-based queue.
2. The size of the
thread pool is determined automatically by the kernel and
resized as needed.
3.WorkManagers become very lightweight, and customers can
create WorkManagers without worrying about the size of the
thread pool.
4.Thread dumps look much cleaner with fewer threads.
In the new model, it is possible to specify different
service-level agreements (SLAs) such as fair shares or
response-time goals for the same servlet invocation
depending on the user associated with the invocation.
5.In earlier releases, each servlet or RMI request was
associated with a dispatch policy that mapped to an execute
queue.Requests without an explicit dispatch policy use the
server-wide default execute queue. In WebLogic Server 9.0,
requests are still associated with a dispatch policy but
are mapped to a WorkManager instead of to an execute queue.
6.Execute queues are always global whereas
WorkManagers are always application scoped. Even
WorkManagers defined globally in the console are
application scoped during runtime. This means that each
application gets into own runtime instance that is distinct
from others, but all of them share the same characteristics
like fair-share goals.

7. Another advantage is Thread Count Self-tuning. One of the
major differences between execute queues and the
new thread scheduling model is that the thread count does
not need to be set. In earlier releases, customers defined
new thread pools and configured their size to avoid
deadlocks and provide differentiated service. It is quite
difficult to determine the exact number of threads needed
in production to achieve optimal throughput and avoid
deadlocks. WebLogic Server 9.0 is self-tuned, dynamically
adjusting the number of threads to avoid deadlocks and
achieve optimal throughput subject to concurrency
constraints. It also meets objectives for differentiated
service. These objectives are stated as fair shares and
response-time goals as explained in the next section.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the boot?

607


What is meant by unicast?

592


How do an rmi-iiop application and an existing corba object interoperate? : BEA Weblogic

632


How can we configure http tunneling on weblogic?

609


Is it better to have more or fewer sessions for a given number of subscribers? : BEA Weblogic

604






What are the States of the Weblogic Server ?

657


What are the ways in which the dns request of failed servers handled?

595


In a web logic server what is the domain?

607


Explain the client-server architecture.

594


What is the difference between the sun jvm and bea jrockit jvm?

677


How to pass arugments to server through machine?

582


How is a domain template created?

605


How does a server know when another server is unavailable ?

654


Why do I get noclassdeffound/too many open files messages on solaris? : BEA Weblogic

616


List components of jndi?

639