Microsoft® .NET Distributed Applications: Integrating XML Web Services and .NET Remoting
by Matthew MacDonald
Object Pooling
A traditional client/server application maps clients directly to server resources in a one-to-one relationship. If there are 10 clients in a system, 10 data objects will be in use. If 1000 clients are attempting to commit data, there will be 1000 data objects and potentially 1000 simultaneous database connections—a much less scalable situation.
To counter this problem, COM+ introduces different types of instance management: object pooling and JIT activation. Object pooling is the most significant of the two. It allows a small set of objects to be reused for a large number of clients. Object pooling is conceptually similar to connection pooling: A "pool" of available, instantiated objects is retained permanently. When a client creates ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access