cancel
Showing results for 
Search instead for 
Did you mean: 

Why there are 2 separate pools: VCS Pool and DB Pool ?

Ankush_Bandil
Confirmed Champ
Confirmed Champ

I have few questions regarding VCS and DB Pool.

  1. Why there are different pools called VCS Pool and DB Pool?
  2. What is the purpose of each pool?
  3. Does VCS pool consume the connection of the database?
1 ACCEPTED ANSWER

Florent_Guillau
World-Class Innovator
World-Class Innovator

In general the notion of pool exists to collect pre-allocated resources which are expensive to re-create.

In Nuxeo we use a "db" pool for JDBC connections, which are expensive to recreate because they trigger network access and take time to execute in the SQL server.

And we use a "vcs" pool for low-level Nuxeo sessions, which are expensive to recreate because they hold a cache of already-fetched objects which is itself expensive to re-create.

And yes each time you use a Nuxeo session you have to take a session from the "vcs" pool, and also take a connection from the "db" pool.

View answer in original post

1 REPLY 1

Florent_Guillau
World-Class Innovator
World-Class Innovator

In general the notion of pool exists to collect pre-allocated resources which are expensive to re-create.

In Nuxeo we use a "db" pool for JDBC connections, which are expensive to recreate because they trigger network access and take time to execute in the SQL server.

And we use a "vcs" pool for low-level Nuxeo sessions, which are expensive to recreate because they hold a cache of already-fetched objects which is itself expensive to re-create.

And yes each time you use a Nuxeo session you have to take a session from the "vcs" pool, and also take a connection from the "db" pool.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.