SlideShare une entreprise Scribd logo
1  sur  29
© Maarga Systems Inc., 2012© Maarga Systems Inc., 2012
Maarga Systems
© Maarga Systems Inc., 2012
Lakshmi Sankaran
Project Lead
Maarga Systems
http://bit.ly/9mobile
© Maarga Systems Inc., 2012
 Introduction
 Factors affecting performance
 Best Practices – Server Level & Application
Level
 Common Bottlenecks & fixes
 Tools to identify common bottle-necks
 Q&A
© Maarga Systems Inc., 2012
 Application Modernization – XPages App
Deployment/Maintenance is critical
 Server-Level & Application-Level parameters
to be properly configured.
 Performance a constraint for adoption, if not
addressed properly
© Maarga Systems Inc., 2012
 Server Capacity
 User Community and concurrent user load
 Network Speed / Bandwidth
 Application Heaviness – GBs
 Last but not the least – Code Quality.
© Maarga Systems Inc., 2012
 Recommended H/W & S/W configurations of
Server
 notes.ini configuration
 Xsp properties
© Maarga Systems Inc., 2012
 OS – A 64 bit OS is recommended
 32-bit Domino has limits on setting
HTTPJvmMaxHeapSize (<= 512 MB)
 Memory - Give Server lots of RAM
 More the RAM, more can be the
HTTPJvmHeapSize
 Isolate heavily used XPages Apps from other
memory intensive apps such asTraveller
© Maarga Systems Inc., 2012
 HttpJVM MaxHeapSize
 Set to 1/4th of available RAM
 HttpJavaMaxheapSizeSet
 Set to 1 to prevent MaxHeapSize from reverting
to default value.
 Default is 256M for 851 servers, 64M for 852
Servers
© Maarga Systems Inc., 2012
 Use run-time optimized java script
 Configure Server Page persistence to keep
pages in memory (small no. of users) and disk
(for large users)
 Configure appropriate application/session
time-out to prevent inactivity
http://books.google.co.in/books?id=PWmRO0qrjKUC&pg=PT29&lpg=PT29&dq=sample+xsp+
properties+file&source=bl&ots=M2yUrpIeqF&sig=AcSp4SrcUJEMEluZO_8dDGPtRZk&hl=
en&sa=X&ei=dseuUeXQGciVrgfw_oHwBw&ved=0CGgQ6AEwCA
© Maarga Systems Inc., 2012
 xsp.persistence.mode = fileex
 Xsp.persistence.maxviews = 16
● Server-side control tree caching. Also the related options:
● xsp.persistence.file.maxviews, xsp.persistence.file.gzip, xsp.persistence.file.threshold,
xsp.persistence.dir.xspstate
 xsp.application.timeout=30min
 xsp.session.timeout=30min
● Server timeouts
 ibm.jscript.cachesize
● Server-side JavaScript expression cache
 xsp.compress.mode=gzip
● Network files are smaller (enabled by default)
 xsp.resources.aggregate = true
● Fewer requests for CSS and JS files, aggregated files are cached
 xsp.expires.global=10days
● Browser expiration for CSS & JS global files [global == not in application]
© Maarga Systems Inc., 2012
© Maarga Systems Inc., 2012
 Out of Memory Exceptions
 Check HttpJVMMaxHeapSize
 SessionTime-Outs
 Check time-out interval
 Higher Load times
 Application Size - Check Views, Index Sizes
 Lookups
 Partial Refreshes
 Scoped variables – Application / Request Scopes
© Maarga Systems Inc., 2012
 Which of the following tools you have used
during your development process
 XPages tool box
 YSlow
 Pagespeed
 Extended Status Bar
 FireBug
© Maarga Systems Inc., 2012
 XPagesTool Box
 Yslow/Page Speed
 Firefox Extended Status Bar
© Maarga Systems Inc., 2012
 Usage of XPagesTool Box
 CPU / Memory / Backend Profiling can be done
 Backend Profiling –Wealth of information on
methods and their usage
 Should be used during development/Testing
cycles
 Production use – Only for critical problem
resolution
© Maarga Systems Inc., 2012
© Maarga Systems Inc., 2012
© Maarga Systems Inc., 2012
© Maarga Systems Inc., 2012
 IncreasingView Index Sizes
 Recreate views – DO NOT copy/paste existing
Views.They tend to increase sizes
 Avoid Duplicate aliases –View indexes get
doubled.
 Golden Rules
 Remove unnecessary Sorting/Styling of columns
 Avoid Complex formulas inViews
 Avoid @Now or @Today inViews
© Maarga Systems Inc., 2012
 Free-up memory
 Purge Indexes
 Compact Db (Copy Style option) and Re-Build
Indexes
© Maarga Systems Inc., 2012
 Optimize usage of DB Lookups/Columns –
They are highly expensive
 XpagesTool Box comes in Handy – Identify
no. of dblookup calls and their places
 Use caching of dblookup results
© Maarga Systems Inc., 2012
 Commonly used in fields.
 Check options – Do notValidate or Update
data, Process data withoutValidations, Set
Partial Execution mode
 Disallow user action during Partial Refresh
 Using static ‘Loading’ indicator
© Maarga Systems Inc., 2012
 Optimized usage of Scoped variables
 Application Scope
 Application level variables that is common to all
users can be stored (e.g) – Path of a Lookup DB,
Server etc..
 Request Scope
 Query String related parameters
© Maarga Systems Inc., 2012
 View Scope
 Session Scope
 User level information
 Employee details – As long as the employee
session is active, the information is available to
access
© Maarga Systems Inc., 2012
 Memory leaks are possible when objects are
not recycled properly.
 Use Recycle() to remove all Domino objects
after use.
var aView:NotesView = database.getView("SomeViewName");
var doc:NotesDocument = aView.getFirstDocument();
while (doc) { // do some processing on doc
doc = aView.getNextDocument( doc );}
--------------------------------- (to) -----------------------------------------------------------------------
var vw:NotesView = db.getView("SomeViewName");
var doc:NotesDocument = vw.getFirstDocument();
while (doc) { // do some processing on doc
var nextdoc:NotesDocument = vw.getNextDocument( doc );
doc.recycle();
var doc:NotesDocument = nextdoc; }
© Maarga Systems Inc., 2012
 Need for performance Optimization
 Server – Level Parameters
 Xsp properties
 Application Level changes – Coding Best
Practices
© Maarga Systems Inc., 2012
 http://www.entwicklercamp.de/konferenz/ent2013.
nsf/bc36cf8d512621e0c1256f870073e627/815cc2ed1
4d57f39c1257a44002b8b22/$FILE/T4S6-
Performance.pdf
 http://bruceelgort.files.wordpress.com/2012/05/ad
mindev2012_elgort_experttipsandtricks1.pdf
 http://xpageswiki.com/web/youatnotes/wiki-
xpages.nsf/dx/Memory_Usage_and_Performance
© Maarga Systems Inc., 2012
© Maarga Systems Inc., 2012
ThankYou

Contenu connexe

Tendances

June OpenNTF Webinar - Domino V12 Certification Manager
June OpenNTF Webinar - Domino V12 Certification ManagerJune OpenNTF Webinar - Domino V12 Certification Manager
June OpenNTF Webinar - Domino V12 Certification ManagerHoward Greenberg
 
IBM Domino / IBM Notes Performance Tuning
IBM Domino / IBM Notes Performance Tuning IBM Domino / IBM Notes Performance Tuning
IBM Domino / IBM Notes Performance Tuning Vladislav Tatarincev
 
Best Practice TLS for IBM Domino
Best Practice TLS for IBM DominoBest Practice TLS for IBM Domino
Best Practice TLS for IBM DominoJared Roberts
 
April, 2021 OpenNTF Webinar - Domino Administration Best Practices
April, 2021 OpenNTF Webinar - Domino Administration Best PracticesApril, 2021 OpenNTF Webinar - Domino Administration Best Practices
April, 2021 OpenNTF Webinar - Domino Administration Best PracticesHoward Greenberg
 
INF104 - HCL Domino AppDev Pack – The Future of Domino App Dev Nobody Knows A...
INF104 - HCL Domino AppDev Pack – The Future of Domino App Dev Nobody Knows A...INF104 - HCL Domino AppDev Pack – The Future of Domino App Dev Nobody Knows A...
INF104 - HCL Domino AppDev Pack – The Future of Domino App Dev Nobody Knows A...Heiko Voigt
 
Important tips on Router and SMTP mail routing
Important tips on Router and SMTP mail routingImportant tips on Router and SMTP mail routing
Important tips on Router and SMTP mail routingjayeshpar2006
 
Domino Administration Wizardry - Dark Arts Edition
Domino Administration Wizardry - Dark Arts EditionDomino Administration Wizardry - Dark Arts Edition
Domino Administration Wizardry - Dark Arts EditionKeith Brooks
 
HTTP - The Other Face Of Domino
HTTP - The Other Face Of DominoHTTP - The Other Face Of Domino
HTTP - The Other Face Of DominoGabriella Davis
 
HCL Sametime 12.0 – Converting from native Domino Directory to LDAP and Migra...
HCL Sametime 12.0 – Converting from native Domino Directory to LDAP and Migra...HCL Sametime 12.0 – Converting from native Domino Directory to LDAP and Migra...
HCL Sametime 12.0 – Converting from native Domino Directory to LDAP and Migra...Ales Lichtenberg
 
RNUG - Dirty Secrets of the Notes Client
RNUG - Dirty Secrets of the Notes ClientRNUG - Dirty Secrets of the Notes Client
RNUG - Dirty Secrets of the Notes ClientChristoph Adler
 
Great new Domino features since 9.0.1FP8 - 2023 Ed.pptx
Great new Domino features since 9.0.1FP8 - 2023 Ed.pptxGreat new Domino features since 9.0.1FP8 - 2023 Ed.pptx
Great new Domino features since 9.0.1FP8 - 2023 Ed.pptxDarren Duke
 
Introduction to Redis
Introduction to RedisIntroduction to Redis
Introduction to RedisDvir Volk
 
IBM Lotus Domino Domain Monitoring (DDM)
IBM Lotus Domino Domain Monitoring (DDM)IBM Lotus Domino Domain Monitoring (DDM)
IBM Lotus Domino Domain Monitoring (DDM)Austin Chang
 
IBM Lotus Notes Clients - Differences
IBM Lotus Notes Clients - DifferencesIBM Lotus Notes Clients - Differences
IBM Lotus Notes Clients - DifferencesDvir Reznik
 
Compact, Compress, De-Duplicate (DAOS)
Compact, Compress, De-Duplicate (DAOS)Compact, Compress, De-Duplicate (DAOS)
Compact, Compress, De-Duplicate (DAOS)Ulrich Krause
 
Domino server controller domino console
Domino server controller   domino consoleDomino server controller   domino console
Domino server controller domino consolerchavero
 
Domino Tech School - Upgrading to Notes/Domino V10: Best Practices
Domino Tech School - Upgrading to Notes/Domino V10: Best PracticesDomino Tech School - Upgrading to Notes/Domino V10: Best Practices
Domino Tech School - Upgrading to Notes/Domino V10: Best PracticesChristoph Adler
 
January OpenNTF Webinar - Backup your Domino Server - New Options in V12
January OpenNTF Webinar - Backup your Domino Server - New Options in V12January OpenNTF Webinar - Backup your Domino Server - New Options in V12
January OpenNTF Webinar - Backup your Domino Server - New Options in V12Howard Greenberg
 
HCL Domino V12 Key Security Features Overview
HCL Domino V12 Key Security Features Overview HCL Domino V12 Key Security Features Overview
HCL Domino V12 Key Security Features Overview hemantnaik
 

Tendances (20)

June OpenNTF Webinar - Domino V12 Certification Manager
June OpenNTF Webinar - Domino V12 Certification ManagerJune OpenNTF Webinar - Domino V12 Certification Manager
June OpenNTF Webinar - Domino V12 Certification Manager
 
IBM Domino / IBM Notes Performance Tuning
IBM Domino / IBM Notes Performance Tuning IBM Domino / IBM Notes Performance Tuning
IBM Domino / IBM Notes Performance Tuning
 
Best Practice TLS for IBM Domino
Best Practice TLS for IBM DominoBest Practice TLS for IBM Domino
Best Practice TLS for IBM Domino
 
April, 2021 OpenNTF Webinar - Domino Administration Best Practices
April, 2021 OpenNTF Webinar - Domino Administration Best PracticesApril, 2021 OpenNTF Webinar - Domino Administration Best Practices
April, 2021 OpenNTF Webinar - Domino Administration Best Practices
 
INF104 - HCL Domino AppDev Pack – The Future of Domino App Dev Nobody Knows A...
INF104 - HCL Domino AppDev Pack – The Future of Domino App Dev Nobody Knows A...INF104 - HCL Domino AppDev Pack – The Future of Domino App Dev Nobody Knows A...
INF104 - HCL Domino AppDev Pack – The Future of Domino App Dev Nobody Knows A...
 
Important tips on Router and SMTP mail routing
Important tips on Router and SMTP mail routingImportant tips on Router and SMTP mail routing
Important tips on Router and SMTP mail routing
 
Domino Administration Wizardry - Dark Arts Edition
Domino Administration Wizardry - Dark Arts EditionDomino Administration Wizardry - Dark Arts Edition
Domino Administration Wizardry - Dark Arts Edition
 
HTTP - The Other Face Of Domino
HTTP - The Other Face Of DominoHTTP - The Other Face Of Domino
HTTP - The Other Face Of Domino
 
HCL Sametime 12.0 – Converting from native Domino Directory to LDAP and Migra...
HCL Sametime 12.0 – Converting from native Domino Directory to LDAP and Migra...HCL Sametime 12.0 – Converting from native Domino Directory to LDAP and Migra...
HCL Sametime 12.0 – Converting from native Domino Directory to LDAP and Migra...
 
RNUG - Dirty Secrets of the Notes Client
RNUG - Dirty Secrets of the Notes ClientRNUG - Dirty Secrets of the Notes Client
RNUG - Dirty Secrets of the Notes Client
 
Great new Domino features since 9.0.1FP8 - 2023 Ed.pptx
Great new Domino features since 9.0.1FP8 - 2023 Ed.pptxGreat new Domino features since 9.0.1FP8 - 2023 Ed.pptx
Great new Domino features since 9.0.1FP8 - 2023 Ed.pptx
 
Spnego configuration
Spnego configurationSpnego configuration
Spnego configuration
 
Introduction to Redis
Introduction to RedisIntroduction to Redis
Introduction to Redis
 
IBM Lotus Domino Domain Monitoring (DDM)
IBM Lotus Domino Domain Monitoring (DDM)IBM Lotus Domino Domain Monitoring (DDM)
IBM Lotus Domino Domain Monitoring (DDM)
 
IBM Lotus Notes Clients - Differences
IBM Lotus Notes Clients - DifferencesIBM Lotus Notes Clients - Differences
IBM Lotus Notes Clients - Differences
 
Compact, Compress, De-Duplicate (DAOS)
Compact, Compress, De-Duplicate (DAOS)Compact, Compress, De-Duplicate (DAOS)
Compact, Compress, De-Duplicate (DAOS)
 
Domino server controller domino console
Domino server controller   domino consoleDomino server controller   domino console
Domino server controller domino console
 
Domino Tech School - Upgrading to Notes/Domino V10: Best Practices
Domino Tech School - Upgrading to Notes/Domino V10: Best PracticesDomino Tech School - Upgrading to Notes/Domino V10: Best Practices
Domino Tech School - Upgrading to Notes/Domino V10: Best Practices
 
January OpenNTF Webinar - Backup your Domino Server - New Options in V12
January OpenNTF Webinar - Backup your Domino Server - New Options in V12January OpenNTF Webinar - Backup your Domino Server - New Options in V12
January OpenNTF Webinar - Backup your Domino Server - New Options in V12
 
HCL Domino V12 Key Security Features Overview
HCL Domino V12 Key Security Features Overview HCL Domino V12 Key Security Features Overview
HCL Domino V12 Key Security Features Overview
 

En vedette

IBM ConnectED 2015 - MAS103 XPages Performance and Scalability
IBM ConnectED 2015 - MAS103 XPages Performance and ScalabilityIBM ConnectED 2015 - MAS103 XPages Performance and Scalability
IBM ConnectED 2015 - MAS103 XPages Performance and ScalabilityPaul Withers
 
Ad109 - XPages Performance and Scalability
Ad109 - XPages Performance and ScalabilityAd109 - XPages Performance and Scalability
Ad109 - XPages Performance and Scalabilityddrschiw
 
We4IT LCTY 2013 - x-pages-men - ibm domino xpages - performance in a nutshell
We4IT LCTY 2013 - x-pages-men - ibm domino xpages - performance in a nutshellWe4IT LCTY 2013 - x-pages-men - ibm domino xpages - performance in a nutshell
We4IT LCTY 2013 - x-pages-men - ibm domino xpages - performance in a nutshellWe4IT Group
 
RESTful services on IBM Domino/XWork
RESTful services on IBM Domino/XWorkRESTful services on IBM Domino/XWork
RESTful services on IBM Domino/XWorkJohn Dalsgaard
 
IBM ConnectED 2015 - BP106 From XPages Hero To OSGi Guru: Taking The Scary Ou...
IBM ConnectED 2015 - BP106 From XPages Hero To OSGi Guru: Taking The Scary Ou...IBM ConnectED 2015 - BP106 From XPages Hero To OSGi Guru: Taking The Scary Ou...
IBM ConnectED 2015 - BP106 From XPages Hero To OSGi Guru: Taking The Scary Ou...Paul Withers
 
Building Responsive Applications Using XPages
Building Responsive Applications Using XPagesBuilding Responsive Applications Using XPages
Building Responsive Applications Using XPagesTeamstudio
 
Life in the fast lane. Full speed XPages
Life in the fast lane. Full speed XPagesLife in the fast lane. Full speed XPages
Life in the fast lane. Full speed XPagesUlrich Krause
 
Optimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best PracticesOptimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best PracticesTeamstudio
 

En vedette (11)

IBM ConnectED 2015 - MAS103 XPages Performance and Scalability
IBM ConnectED 2015 - MAS103 XPages Performance and ScalabilityIBM ConnectED 2015 - MAS103 XPages Performance and Scalability
IBM ConnectED 2015 - MAS103 XPages Performance and Scalability
 
Ad109 - XPages Performance and Scalability
Ad109 - XPages Performance and ScalabilityAd109 - XPages Performance and Scalability
Ad109 - XPages Performance and Scalability
 
XPages: Performance-Optimierung - Ulrich Krause (eknori) SNoUG 2013
XPages: Performance-Optimierung  - Ulrich Krause (eknori) SNoUG 2013XPages: Performance-Optimierung  - Ulrich Krause (eknori) SNoUG 2013
XPages: Performance-Optimierung - Ulrich Krause (eknori) SNoUG 2013
 
We4IT LCTY 2013 - x-pages-men - ibm domino xpages - performance in a nutshell
We4IT LCTY 2013 - x-pages-men - ibm domino xpages - performance in a nutshellWe4IT LCTY 2013 - x-pages-men - ibm domino xpages - performance in a nutshell
We4IT LCTY 2013 - x-pages-men - ibm domino xpages - performance in a nutshell
 
XPages Performance Master Class - Survive in the fast lane on the Autobahn (E...
XPages Performance Master Class - Survive in the fast lane on the Autobahn (E...XPages Performance Master Class - Survive in the fast lane on the Autobahn (E...
XPages Performance Master Class - Survive in the fast lane on the Autobahn (E...
 
RESTful services on IBM Domino/XWork
RESTful services on IBM Domino/XWorkRESTful services on IBM Domino/XWork
RESTful services on IBM Domino/XWork
 
IBM Connections Cloud Administration
IBM Connections Cloud AdministrationIBM Connections Cloud Administration
IBM Connections Cloud Administration
 
IBM ConnectED 2015 - BP106 From XPages Hero To OSGi Guru: Taking The Scary Ou...
IBM ConnectED 2015 - BP106 From XPages Hero To OSGi Guru: Taking The Scary Ou...IBM ConnectED 2015 - BP106 From XPages Hero To OSGi Guru: Taking The Scary Ou...
IBM ConnectED 2015 - BP106 From XPages Hero To OSGi Guru: Taking The Scary Ou...
 
Building Responsive Applications Using XPages
Building Responsive Applications Using XPagesBuilding Responsive Applications Using XPages
Building Responsive Applications Using XPages
 
Life in the fast lane. Full speed XPages
Life in the fast lane. Full speed XPagesLife in the fast lane. Full speed XPages
Life in the fast lane. Full speed XPages
 
Optimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best PracticesOptimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best Practices
 

Similaire à Speed up your XPages Application performance

Storage Sizing for SAP
Storage Sizing for SAPStorage Sizing for SAP
Storage Sizing for SAPCenk Ersoy
 
Weblogic performance tuning2
Weblogic performance tuning2Weblogic performance tuning2
Weblogic performance tuning2Aditya Bhuyan
 
Weblogic Cluster advanced performance tuning
Weblogic Cluster advanced performance tuningWeblogic Cluster advanced performance tuning
Weblogic Cluster advanced performance tuningAditya Bhuyan
 
Weblogic Cluster performance tuning
Weblogic Cluster performance tuningWeblogic Cluster performance tuning
Weblogic Cluster performance tuningAditya Bhuyan
 
Weblogic performance tuning1
Weblogic performance tuning1Weblogic performance tuning1
Weblogic performance tuning1Aditya Bhuyan
 
Webcenter application performance tuning guide
Webcenter application performance tuning guideWebcenter application performance tuning guide
Webcenter application performance tuning guideVinay Kumar
 
071410 sun a_1515_feldman_stephen
071410 sun a_1515_feldman_stephen071410 sun a_1515_feldman_stephen
071410 sun a_1515_feldman_stephenSteve Feldman
 
PERFORMANCE COMPARISON ON JAVA TECHNOLOGIES - A PRACTICAL APPROACH
PERFORMANCE COMPARISON ON JAVA TECHNOLOGIES - A PRACTICAL APPROACHPERFORMANCE COMPARISON ON JAVA TECHNOLOGIES - A PRACTICAL APPROACH
PERFORMANCE COMPARISON ON JAVA TECHNOLOGIES - A PRACTICAL APPROACHcscpconf
 
Performance comparison on java technologies a practical approach
Performance comparison on java technologies   a practical approachPerformance comparison on java technologies   a practical approach
Performance comparison on java technologies a practical approachcsandit
 
WebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload ProtectionWebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload ProtectionJames Bayer
 
What's new on SAP HANA Workload Management
What's new on SAP HANA Workload ManagementWhat's new on SAP HANA Workload Management
What's new on SAP HANA Workload ManagementSAP Technology
 
Introduction to the IBM Java Tools
Introduction to the IBM Java ToolsIntroduction to the IBM Java Tools
Introduction to the IBM Java ToolsChris Bailey
 
OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]
OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]
OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]vasuballa
 
OOW15 - Getting Optimal Performance from Oracle E-Business Suite
OOW15 - Getting Optimal Performance from Oracle E-Business SuiteOOW15 - Getting Optimal Performance from Oracle E-Business Suite
OOW15 - Getting Optimal Performance from Oracle E-Business Suitevasuballa
 
Camunda BPM 7.2: Performance and Scalability (English)
Camunda BPM 7.2: Performance and Scalability (English)Camunda BPM 7.2: Performance and Scalability (English)
Camunda BPM 7.2: Performance and Scalability (English)camunda services GmbH
 
Oracle enterprise manager cloud control 12c
Oracle enterprise manager cloud control 12cOracle enterprise manager cloud control 12c
Oracle enterprise manager cloud control 12csolarisyougood
 
Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)
Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)
Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)Akamai Developers & Admins
 
Open Source Databases on the Cloud - Peter Dachnowicz
Open Source Databases on the Cloud - Peter DachnowiczOpen Source Databases on the Cloud - Peter Dachnowicz
Open Source Databases on the Cloud - Peter DachnowiczAmazon Web Services
 

Similaire à Speed up your XPages Application performance (20)

Storage Sizing for SAP
Storage Sizing for SAPStorage Sizing for SAP
Storage Sizing for SAP
 
Vijendra_resume
Vijendra_resume Vijendra_resume
Vijendra_resume
 
Weblogic performance tuning2
Weblogic performance tuning2Weblogic performance tuning2
Weblogic performance tuning2
 
Weblogic Cluster advanced performance tuning
Weblogic Cluster advanced performance tuningWeblogic Cluster advanced performance tuning
Weblogic Cluster advanced performance tuning
 
Weblogic Cluster performance tuning
Weblogic Cluster performance tuningWeblogic Cluster performance tuning
Weblogic Cluster performance tuning
 
Weblogic performance tuning1
Weblogic performance tuning1Weblogic performance tuning1
Weblogic performance tuning1
 
Webcenter application performance tuning guide
Webcenter application performance tuning guideWebcenter application performance tuning guide
Webcenter application performance tuning guide
 
071410 sun a_1515_feldman_stephen
071410 sun a_1515_feldman_stephen071410 sun a_1515_feldman_stephen
071410 sun a_1515_feldman_stephen
 
PERFORMANCE COMPARISON ON JAVA TECHNOLOGIES - A PRACTICAL APPROACH
PERFORMANCE COMPARISON ON JAVA TECHNOLOGIES - A PRACTICAL APPROACHPERFORMANCE COMPARISON ON JAVA TECHNOLOGIES - A PRACTICAL APPROACH
PERFORMANCE COMPARISON ON JAVA TECHNOLOGIES - A PRACTICAL APPROACH
 
Performance comparison on java technologies a practical approach
Performance comparison on java technologies   a practical approachPerformance comparison on java technologies   a practical approach
Performance comparison on java technologies a practical approach
 
WebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload ProtectionWebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload Protection
 
Webinar on radar
Webinar on radarWebinar on radar
Webinar on radar
 
What's new on SAP HANA Workload Management
What's new on SAP HANA Workload ManagementWhat's new on SAP HANA Workload Management
What's new on SAP HANA Workload Management
 
Introduction to the IBM Java Tools
Introduction to the IBM Java ToolsIntroduction to the IBM Java Tools
Introduction to the IBM Java Tools
 
OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]
OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]
OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]
 
OOW15 - Getting Optimal Performance from Oracle E-Business Suite
OOW15 - Getting Optimal Performance from Oracle E-Business SuiteOOW15 - Getting Optimal Performance from Oracle E-Business Suite
OOW15 - Getting Optimal Performance from Oracle E-Business Suite
 
Camunda BPM 7.2: Performance and Scalability (English)
Camunda BPM 7.2: Performance and Scalability (English)Camunda BPM 7.2: Performance and Scalability (English)
Camunda BPM 7.2: Performance and Scalability (English)
 
Oracle enterprise manager cloud control 12c
Oracle enterprise manager cloud control 12cOracle enterprise manager cloud control 12c
Oracle enterprise manager cloud control 12c
 
Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)
Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)
Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)
 
Open Source Databases on the Cloud - Peter Dachnowicz
Open Source Databases on the Cloud - Peter DachnowiczOpen Source Databases on the Cloud - Peter Dachnowicz
Open Source Databases on the Cloud - Peter Dachnowicz
 

Plus de Maarga Systems

Webinar: Unlocking the Power of IBM Connections 6.0
Webinar: Unlocking the Power of IBM Connections 6.0Webinar: Unlocking the Power of IBM Connections 6.0
Webinar: Unlocking the Power of IBM Connections 6.0Maarga Systems
 
IBM Connections 6 at a Glance
IBM Connections 6 at a GlanceIBM Connections 6 at a Glance
IBM Connections 6 at a GlanceMaarga Systems
 
Migrating Lotus Notes Applications to Sharepoint Online with Nintex
Migrating Lotus Notes Applications to Sharepoint Online with NintexMigrating Lotus Notes Applications to Sharepoint Online with Nintex
Migrating Lotus Notes Applications to Sharepoint Online with NintexMaarga Systems
 
Migrating Lotus Notes Applications to Sharepoint: Preparations and Analysis
Migrating Lotus Notes Applications to Sharepoint: Preparations and AnalysisMigrating Lotus Notes Applications to Sharepoint: Preparations and Analysis
Migrating Lotus Notes Applications to Sharepoint: Preparations and AnalysisMaarga Systems
 
Lotus Notes Application Migration
Lotus Notes Application  MigrationLotus Notes Application  Migration
Lotus Notes Application MigrationMaarga Systems
 
10 elements of successful strategy to migrate to office 365
10 elements of successful strategy to migrate to office 36510 elements of successful strategy to migrate to office 365
10 elements of successful strategy to migrate to office 365Maarga Systems
 
IBM notes to IBM smartcloud
IBM notes to IBM smartcloudIBM notes to IBM smartcloud
IBM notes to IBM smartcloudMaarga Systems
 
IBM Worklight - Introduction
IBM Worklight - IntroductionIBM Worklight - Introduction
IBM Worklight - IntroductionMaarga Systems
 
IBM Notes 9 Social Edition Cheat Sheet
IBM Notes 9 Social Edition Cheat SheetIBM Notes 9 Social Edition Cheat Sheet
IBM Notes 9 Social Edition Cheat SheetMaarga Systems
 
Webinar: Restyle your Notes Applications
Webinar: Restyle your Notes ApplicationsWebinar: Restyle your Notes Applications
Webinar: Restyle your Notes ApplicationsMaarga Systems
 
Pilot essentials webinar
Pilot essentials webinarPilot essentials webinar
Pilot essentials webinarMaarga Systems
 

Plus de Maarga Systems (11)

Webinar: Unlocking the Power of IBM Connections 6.0
Webinar: Unlocking the Power of IBM Connections 6.0Webinar: Unlocking the Power of IBM Connections 6.0
Webinar: Unlocking the Power of IBM Connections 6.0
 
IBM Connections 6 at a Glance
IBM Connections 6 at a GlanceIBM Connections 6 at a Glance
IBM Connections 6 at a Glance
 
Migrating Lotus Notes Applications to Sharepoint Online with Nintex
Migrating Lotus Notes Applications to Sharepoint Online with NintexMigrating Lotus Notes Applications to Sharepoint Online with Nintex
Migrating Lotus Notes Applications to Sharepoint Online with Nintex
 
Migrating Lotus Notes Applications to Sharepoint: Preparations and Analysis
Migrating Lotus Notes Applications to Sharepoint: Preparations and AnalysisMigrating Lotus Notes Applications to Sharepoint: Preparations and Analysis
Migrating Lotus Notes Applications to Sharepoint: Preparations and Analysis
 
Lotus Notes Application Migration
Lotus Notes Application  MigrationLotus Notes Application  Migration
Lotus Notes Application Migration
 
10 elements of successful strategy to migrate to office 365
10 elements of successful strategy to migrate to office 36510 elements of successful strategy to migrate to office 365
10 elements of successful strategy to migrate to office 365
 
IBM notes to IBM smartcloud
IBM notes to IBM smartcloudIBM notes to IBM smartcloud
IBM notes to IBM smartcloud
 
IBM Worklight - Introduction
IBM Worklight - IntroductionIBM Worklight - Introduction
IBM Worklight - Introduction
 
IBM Notes 9 Social Edition Cheat Sheet
IBM Notes 9 Social Edition Cheat SheetIBM Notes 9 Social Edition Cheat Sheet
IBM Notes 9 Social Edition Cheat Sheet
 
Webinar: Restyle your Notes Applications
Webinar: Restyle your Notes ApplicationsWebinar: Restyle your Notes Applications
Webinar: Restyle your Notes Applications
 
Pilot essentials webinar
Pilot essentials webinarPilot essentials webinar
Pilot essentials webinar
 

Dernier

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 

Dernier (20)

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 

Speed up your XPages Application performance

  • 1. © Maarga Systems Inc., 2012© Maarga Systems Inc., 2012 Maarga Systems
  • 2. © Maarga Systems Inc., 2012 Lakshmi Sankaran Project Lead Maarga Systems http://bit.ly/9mobile
  • 3. © Maarga Systems Inc., 2012  Introduction  Factors affecting performance  Best Practices – Server Level & Application Level  Common Bottlenecks & fixes  Tools to identify common bottle-necks  Q&A
  • 4. © Maarga Systems Inc., 2012  Application Modernization – XPages App Deployment/Maintenance is critical  Server-Level & Application-Level parameters to be properly configured.  Performance a constraint for adoption, if not addressed properly
  • 5. © Maarga Systems Inc., 2012  Server Capacity  User Community and concurrent user load  Network Speed / Bandwidth  Application Heaviness – GBs  Last but not the least – Code Quality.
  • 6. © Maarga Systems Inc., 2012  Recommended H/W & S/W configurations of Server  notes.ini configuration  Xsp properties
  • 7. © Maarga Systems Inc., 2012  OS – A 64 bit OS is recommended  32-bit Domino has limits on setting HTTPJvmMaxHeapSize (<= 512 MB)  Memory - Give Server lots of RAM  More the RAM, more can be the HTTPJvmHeapSize  Isolate heavily used XPages Apps from other memory intensive apps such asTraveller
  • 8. © Maarga Systems Inc., 2012  HttpJVM MaxHeapSize  Set to 1/4th of available RAM  HttpJavaMaxheapSizeSet  Set to 1 to prevent MaxHeapSize from reverting to default value.  Default is 256M for 851 servers, 64M for 852 Servers
  • 9. © Maarga Systems Inc., 2012  Use run-time optimized java script  Configure Server Page persistence to keep pages in memory (small no. of users) and disk (for large users)  Configure appropriate application/session time-out to prevent inactivity http://books.google.co.in/books?id=PWmRO0qrjKUC&pg=PT29&lpg=PT29&dq=sample+xsp+ properties+file&source=bl&ots=M2yUrpIeqF&sig=AcSp4SrcUJEMEluZO_8dDGPtRZk&hl= en&sa=X&ei=dseuUeXQGciVrgfw_oHwBw&ved=0CGgQ6AEwCA
  • 10. © Maarga Systems Inc., 2012  xsp.persistence.mode = fileex  Xsp.persistence.maxviews = 16 ● Server-side control tree caching. Also the related options: ● xsp.persistence.file.maxviews, xsp.persistence.file.gzip, xsp.persistence.file.threshold, xsp.persistence.dir.xspstate  xsp.application.timeout=30min  xsp.session.timeout=30min ● Server timeouts  ibm.jscript.cachesize ● Server-side JavaScript expression cache  xsp.compress.mode=gzip ● Network files are smaller (enabled by default)  xsp.resources.aggregate = true ● Fewer requests for CSS and JS files, aggregated files are cached  xsp.expires.global=10days ● Browser expiration for CSS & JS global files [global == not in application]
  • 11. © Maarga Systems Inc., 2012
  • 12. © Maarga Systems Inc., 2012  Out of Memory Exceptions  Check HttpJVMMaxHeapSize  SessionTime-Outs  Check time-out interval  Higher Load times  Application Size - Check Views, Index Sizes  Lookups  Partial Refreshes  Scoped variables – Application / Request Scopes
  • 13. © Maarga Systems Inc., 2012  Which of the following tools you have used during your development process  XPages tool box  YSlow  Pagespeed  Extended Status Bar  FireBug
  • 14. © Maarga Systems Inc., 2012  XPagesTool Box  Yslow/Page Speed  Firefox Extended Status Bar
  • 15. © Maarga Systems Inc., 2012  Usage of XPagesTool Box  CPU / Memory / Backend Profiling can be done  Backend Profiling –Wealth of information on methods and their usage  Should be used during development/Testing cycles  Production use – Only for critical problem resolution
  • 16. © Maarga Systems Inc., 2012
  • 17. © Maarga Systems Inc., 2012
  • 18. © Maarga Systems Inc., 2012
  • 19. © Maarga Systems Inc., 2012  IncreasingView Index Sizes  Recreate views – DO NOT copy/paste existing Views.They tend to increase sizes  Avoid Duplicate aliases –View indexes get doubled.  Golden Rules  Remove unnecessary Sorting/Styling of columns  Avoid Complex formulas inViews  Avoid @Now or @Today inViews
  • 20. © Maarga Systems Inc., 2012  Free-up memory  Purge Indexes  Compact Db (Copy Style option) and Re-Build Indexes
  • 21. © Maarga Systems Inc., 2012  Optimize usage of DB Lookups/Columns – They are highly expensive  XpagesTool Box comes in Handy – Identify no. of dblookup calls and their places  Use caching of dblookup results
  • 22. © Maarga Systems Inc., 2012  Commonly used in fields.  Check options – Do notValidate or Update data, Process data withoutValidations, Set Partial Execution mode  Disallow user action during Partial Refresh  Using static ‘Loading’ indicator
  • 23. © Maarga Systems Inc., 2012  Optimized usage of Scoped variables  Application Scope  Application level variables that is common to all users can be stored (e.g) – Path of a Lookup DB, Server etc..  Request Scope  Query String related parameters
  • 24. © Maarga Systems Inc., 2012  View Scope  Session Scope  User level information  Employee details – As long as the employee session is active, the information is available to access
  • 25. © Maarga Systems Inc., 2012  Memory leaks are possible when objects are not recycled properly.  Use Recycle() to remove all Domino objects after use. var aView:NotesView = database.getView("SomeViewName"); var doc:NotesDocument = aView.getFirstDocument(); while (doc) { // do some processing on doc doc = aView.getNextDocument( doc );} --------------------------------- (to) ----------------------------------------------------------------------- var vw:NotesView = db.getView("SomeViewName"); var doc:NotesDocument = vw.getFirstDocument(); while (doc) { // do some processing on doc var nextdoc:NotesDocument = vw.getNextDocument( doc ); doc.recycle(); var doc:NotesDocument = nextdoc; }
  • 26. © Maarga Systems Inc., 2012  Need for performance Optimization  Server – Level Parameters  Xsp properties  Application Level changes – Coding Best Practices
  • 27. © Maarga Systems Inc., 2012  http://www.entwicklercamp.de/konferenz/ent2013. nsf/bc36cf8d512621e0c1256f870073e627/815cc2ed1 4d57f39c1257a44002b8b22/$FILE/T4S6- Performance.pdf  http://bruceelgort.files.wordpress.com/2012/05/ad mindev2012_elgort_experttipsandtricks1.pdf  http://xpageswiki.com/web/youatnotes/wiki- xpages.nsf/dx/Memory_Usage_and_Performance
  • 28. © Maarga Systems Inc., 2012
  • 29. © Maarga Systems Inc., 2012 ThankYou

Notes de l'éditeur

  1. General Agenda:We will discuss about the need for performance in Application Modernisation (discussed in next) just to have a general intro),
  2. When we are working on Application Modernisation and you are rolling out the first Xpages app, deployment/maintenance is very critical for success. The roadmap for subsequent modernisation depends on solely on the success of the first app. In which performance plays a major role in user adoption. Performance can be a major challenge, if not addressed properly both at the server level and application.
  3. There are various affect the affect/influenze the application Performance. Listed are some of them. Discuss abt eachServer capacity – If recommended hardware/software is not provided for the domino server, performance may be affectedHeavy user load – Application should be tuned to work at a higher load, if it is rolled out to a wide user groupWhere server is hosted in a Data center – Network Speed / Latency directly impact the performanceSize of application – App should be optimized to handle heavey applications, that will affect page loading times if not handled properlyCoding – Best practices should be implemented to achieve good performance at different situations
  4. These points are discussed in subsequent slides.First we discuss about the server level configurations for perf optimization. Then the application level
  5. Recommended H/w and S/w configurationMemory expensive applications should be isolated so that rest of the application do not suffer performance issues. So Traveller should be installed always in a separate server
  6. Notes.ini settings that predominantly affect Xpages. We can say about out of memory exceptions, if sufficient memory is not allocated to Heap Size
  7. Xsp properties can be set both at the server level and application level. We can say about xsp properties file location (IN Java perspective). Server level applies to all applications on the server. If it is done at the application level, it applies only to that app. Next slide says about specific parameters that is mapping to these points
  8. Common issued facing during post production stages in rolling out Xpages app.For Server Time Out – We can bring the example of Hero Security – GatePass Approval. The session need to be alive for the complete shift of the security personnel which may be around – 5-7 hrs. If not set properly, anonymous access in apps could cause issues.For higher page loading points – Listed are some of the points. Sunsequent slides will discuss about fixes for each of the points
  9. We can talk about back-end profiling in Xpages tool box that gives a complete picture of an clicked action. Methods used, no. of times it is called and average time taken by them. From here, expensive methods can be identified and optimized
  10. Usage of scoped variables prudently – Talk about application/Request/Session scope.We can also touch upon using Managed Beans but that is not the scope and can leave at that
  11. Usage of scoped variables prudently – Talk about application/Request/Session scope.We can also touch upon using Managed Beans but that is not the scope and can leave at that
  12. Sumup