all groups > dotnet distributed apps > october 2003 >
You're in the

dotnet distributed apps

group:

Petshop 3.0 question ?


Petshop 3.0 question ? DJ
10/6/2003 10:06:25 AM
dotnet distributed apps:
Hi,
Has anyone looked at the Petshop 3.0?
I was wondering why they had decided to create the Order.cs class as a
serviced components in the Business Layer which supports transactions and
object pooling?

Also I was wondering why they decided to set the object pooling min and max
to 4?

Does anyone have any ideas ?

Thanks

Dj


Re: Petshop 3.0 question ? Dino Chiesa [Microsoft]
10/15/2003 10:05:52 AM
This was a Serviced Component because the benchmark called for the use of
transactions. Pooling makes sense for a highly-concurrent system.

The pool size was selected after testing and tuning.


--
Dino Chiesa
Microsoft Developer Division
d i n o c h @ o n l i n e . m i c r o s o f t . c o m

[quoted text, click to view]

AddThis Social Bookmark Button