martes, 21 de febrero de 2017

WebCenter Portal 12.2.x.x: Performance Bug in VCR services

During my last project of Oracle WebCenter Portal 12c we have found a performance degradation when using Content Presenter.

As you know, Content Presenter calls the following services which are coming from PortalVCRHelper component:
  • VCR_GET_CONTENT_TYPES: Returns the list of Content Types which are Profiles and Region Definitions defined in WebCenter Content.
  • VCR_GET_CONTENT_TYPE: Returns specific information of the Content Type.
  • VCR_GET_DOCUMENT_BY_NAME: Returns the information of a DOC_INFO + the Content of the Data File (XML content).
On Oracle WebCenter Content 12cR2, Imaging has been embedded into the Content Server as two components:
  • Imaging: Bringing Imaging capabilities to the new Content Manager Task Flow (which is the WCC ADF UI embedded in WebCenter Portal).
  • IpmRepository: The old capabilities of using Imaging as a repository.
Imaging executes some filters in Oracle WebCenter Content which degrades the performance of the VCR calls when the number of Profiles is big enough. This component cannot be disabled as is mandatory for Content Manager Task Flow.

For example, if you have 40 Profiles and 8 Region Definitions the times can be like the following ones:
  • VCR_GET_CONTENT_TYPES around 12-16 seconds to execute
  • VCR_GET_DOCUMENT_BY_NAME: around 2-4 seconds each one
In case of having in the Home Page of your Portal 12 Data Files it is translated to: 16 + 12*4 = 64 seconds to load the Home Page!!.

This bug has been solved after working hard with Oracle Support and exists already a patch :).

Patch 25528107: Slow performance from VCR_GET_CONTENT_TYPES when IPM components are enabled

It will reduce the latency of calling VCR services. However, never forget to Configure Coherence cache as suggested by the A-Team for reduce the VCR calls as much as possible :).

lunes, 20 de febrero de 2017

Speaker at OGh Tech Experience 2017!

Dear friends / fans and lovers of Oracle WebCenter 12c! I will be in the OGh Tech Experience 2017 for speaking about "Performance in Oracle WebCenter 12c" for sharing tricks, tips and experiences I had on WebCenter 12c!

Stay tuned!!!!