CHAPTeR 9 DXP PeRfORMANCe OPTIMIzATION The main performance issues for the key business-critical pages are depicted in Figure 9-3. Ͳ &ŝƌƐƚƚŝŵĞůŽŐŝŶƚŝŵĞŝƐϯϬƐĞĐŽŶĚƐŽŶ ʹ ^ƵƉƉůŝĞƌƉŽƌƚĂůƉĂŐĞƐĂƌĞƐůŽǁ ƉƌŽĚĞŶǀŝƌŽŶŵĞŶƚƐ ĞƐƉĞĐŝĂůůLJĂĨƚĞƌůŽŐŝŶ Ͳ WĂŐĞƐƚŚĂƚƉĞƌĨŽƌŵƌĞůĂƚŝǀĞůLJŐŽŽĚŝŶ ʹ ^ƵƉƉůŝĞƌǁŽƌŬďĞŶĐŚŝƐǀĞƌLJƐůŽǁ͕ ƐƚĂŐŝŶŐĂƌĞƉĞƌĨŽƌŵŝŶŐďĂĚůLJŝŶƉƌŽĚ ǁŚŝĐŚƚĂŬĞƐĐůŽƐĞƚŽϮϱƐĞĐŽŶĚƐŽŶ Ͳ dŚĞƉĞƌĨŽƌŵĂŶĐĞŶĞĞĚƐƚŽďĞŝŵƉƌŽǀĞĚ ĂŶĂǀĞƌĂŐĞŽŶƉƌŽĚƵĐƚŝŽŶ ƚŽƚŚĞƌĂŶŐĞŽĨϱƐĞĐŽŶĚƐĨŽƌůŽŐŐĞĚŝŶ ĞŶǀŝƌŽŶŵĞŶƚ ƐĐĞŶĂƌŝŽ /ŶŝƚŝĂů>ŽŐŝŶ ^ƵƉƉůŝĞƌ WĞƌĨŽƌŵĂŶĐĞ WŽƌƚĂů ^ĞƌǀĞƌͲƐŝĚĞ ŝƐƚƌŝďƵƚŽƌ Ͳ /ŶŐĞŶĞƌĂůŵŽƐƚŽĨƚŚĞĐŽŵƉŽŶĞŶƚƐ WĞƌĨŽƌŵĂŶĐĞ WŽƌƚĂů Ͳ ŝƐƚƌŝďƵƚŽƌƉŽƌƚĂůŝƐƉĞƌĨŽƌŵŝŶŐ ;ǁŽƌŬďĞŶĐŚŵŽĚƵůĞ͕ĂŶŶŽƵŶĐĞŵĞŶƚ ďĂĚůLJŝŶůŽŐŐĞĚŝŶƐĐĞŶĂƌŝŽ ŵŽĚƵůĞͿƚŚĂƚĂĐĐĞƐƐĚďĂƌĞƉĞƌĨŽƌŵŝŶŐ Ͳ ŶŶŽƵŶĐĞŵĞŶƚƐŵŽĚƵůĞ;ǁŚŝĐŚ ďĂĚůLJ ƵƐĞƐĚĂƚĂďĂƐĞĂŶĚ>WͿŝƐƚĂŬŝŶŐ Ͳ dŚĞŵĞĐŽŶƚĂŝŶƐƚŚĞŶĞƐƚĞĚŐƌŽƵƉďLJ ĂďŽƵƚϭϬƐĞĐŽŶĚƐŽŶŝŶŝƚŝĂůůŽĂĚ >WƋƵĞƌLJƚŚĂƚǁĂƐĐĂƵƐŝŶŐ ƉĞƌĨŽƌŵĂŶĐĞƉƌŽďůĞŵ Ͳ KZDůĂLJĞƌǁĂƐĂĚĚŝŶŐĂĚĚŝƚŝŽŶĂů ƉĞƌĨŽƌŵĂŶĐĞŽǀĞƌŚĞĂĚ Figure 9-3. Sample performance analysis of business-critical pages The key performance issues depicted in Figure 9-3 are elaborated as follows: Initial login performance: The first-time login performance was very bad. This led to bad user experience for the login scenario. Though the pages in the staging environment had good performance, they performed badly in the production environment. Server side performance issues: The business modules such as workbench module and announcements module had bad performance due to complex LDAP queries involved. Additionally, the object relational mapping (ORM) layer added performance overheads for complex database queries. Supplier portal and distributor portal: The supplier portal and distributor portal were analyzed to understand the page response time, asset size, asset load time, and other key performance metrics. The server-side components were profiled to understand the performance of all the calls involved in the process. 255

Building Digital Experience Platforms - Page 269 Building Digital Experience Platforms Page 268 Page 270