Optimizing Performance with Oracle ADF
11.4 JVM Tuning Parameters
JVM parameters can have an impact on SOA performance. The major factors that impact a SOA component’s performance relate to the heap size. For more information on tuning the JVM for performance, see Section 2.4, Tune Java Virtual Machines JVMs .11.5 Database Settings
Tuning your database configurations may be useful with the SOA Suite of applications. Configurations and specific settings may vary for different use cases. See your database-specific administration manuals for more information on tuning database properties. For additional basic database tuning guidelines, see Section 2.6, Tune Database Parameters .11.5.1 Configuring Data Sources for SOA
SOA obtains database connections using an application server managed data source. You can use the WebLogic Server Console to configure SOA data source. For more information on using the WebLogic Server Console, seethe Oracle Fusion Middleware Administrators Guide. Consider the following data source configurations when performance is an issue: ■ When configuring the data source, ensure that the connection pool has enough free connections. ■ Statement caching can eliminate potential performance impacts caused by repeated cursor creation and repeated statement parsing and creation. Statement caching also reduces the performance impact of communication between the application server and the database server ■ Disable unnecessary connection testing and profiling. For more information, see Tuning JDBC Stores in Oracle Fusion Middleware Performance and Tuning for Oracle WebLogic Server.11.5.2 Weblogic Server Performance Tuning
For complete performance tuning of Weblogic Server, refer to Oracle Fusion Middleware Performance and Tuning for Oracle WebLogic Server. 11-4 Oracle Fusion Middleware Performance and Tuning Guide 12 Oracle Business Rules Performance Tuning 12-1 12 Oracle Business Rules Performance Tuning Oracle Business Rules technology enables automation of business rules; it also enables extraction of business rules from procedural logic such as Java code or BPEL processes. The chapter includes the following sections: ■ Section 12.1, About Oracle Business Rules ■ Section 12.2, Basic Tuning Considerations12.1 About Oracle Business Rules
Oracle Business Rules provides high performance and easy to use implementation of Business Rules technology. It provides easy to use authoring environment as well as a very high performance inference capable rules engine. Oracle Business Rules is part of the Oracle Fusion Middleware stack and will be a core component of many Oracle products including both middleware and applications.12.2 Basic Tuning Considerations
In most cases, writing of Rules should not require a focus on performance. However, as in any technology, there are tips and tricks that can be used to maximize performance when needed. Most of the considerations are focused on the initial configuration of the data model. ■ Section 12.2.1, Use Java Beans ■ Section 12.2.2, Assert Child Facts instead of Multiple Dereferences ■ Section 12.2.3, Avoid Side Affects in Rule Conditions ■ Section 12.2.4, Avoid Expensive Operations in Rule Conditions ■ Section 12.2.5, Consider Pattern Ordering ■ Section 12.2.6, Consider the Ordering of Tests in Rule Conditions ■ Section 12.2.7, Use Functions Instead of AssertXPath and Supports XPath12.2.1 Use Java Beans
The rule engine is most efficient when the facts it is reasoning on are Java Beans or RL classes and the associated tests involve bean properties. The beans should expose get and set methods if set is allowed for each bean property. If application data is not directly available in Java Beans, flatten the data to a collection of Java Beans that will be asserted as facts and used in the rules. 12-2 Oracle Fusion Middleware Performance and Tuning Guide12.2.2 Assert Child Facts instead of Multiple Dereferences
Expressions like Account.Contact.Address involve more than one object dereference. In a rule condition, this is not as efficient as expressions with single dereferences. It is a best practice to flatten fact types as much as possible. If the fact type has a hierarchical structure, consider using assertXPath or other means to assert object hierarchy; that is for the preceding example, assert both Account and Contact as Fact Types.12.2.3 Avoid Side Affects in Rule Conditions
Methods or functions that have side affects such as changing a value or state should not be used in a rule condition. Due to the optimizations performed when the rule engine builds the Rete network, and the Rete network operations that are performed as facts are asserted, modified and re-asserted, or retracted, the tests in a rule condition may be evaluated a greater or lesser number of times than would occur in a procedural program. If a method or function has side effects, those side effects may be performed an unexpected number of times.12.2.4 Avoid Expensive Operations in Rule Conditions
Expensive operations should be avoided in rule conditions. Expensive operations would include any operation that involves IO disk or network or even intensive computations. In general, consider avoiding IO or DBMS access from the rules engine directly. These operations should be done external to the rules engine. For other expensive operations or calculations, consider performing the computations and assert the results as a Java or RL fact. These facts are used in the rule conditions instead of the expensive operations.12.2.5 Consider Pattern Ordering
Reordering rule patterns can improve the performance of rule evaluation in time, memory use, or both. There are two main guidelines for ordering fact clauses patterns within a rule condition. ■ If a fact is not expected to change or will not change frequently during rule evaluation, place its fact clause before fact clauses that change more frequently. That is, order the fact clauses by expected rate of change from least to greatest. Ordering fact clauses in this way can improve the performance time of rule evaluation. ■ If a fact clause including any tests that involve only that fact is expected to match fewer facts than other fact clauses in the rule condition, place that fact clause before the others. That is, order the fact clauses from most restrictive matches fewest facts to least restrictive. This can reduce the amount of memory used during rule evaluation. It may also improve the performance. Sometimes these two guidelines conflict and it may require some experimentation to arrive at the best ordering.12.2.6 Consider the Ordering of Tests in Rule Conditions
Similar to the recommendations for fact clauses, the tests in a rule condition should be ordered such that a test that will be more restrictive is placed before a test that is less restrictive. This can reduce the amount of computation required for facts that do not satisfy the rule condition. If the degree of restrictiveness is not known, or estimated toParts
» Oracle Fusion Middleware Online Documentation Library
» Document Scope and Audience Guide to this Document
» Related Documentation Oracle Fusion Middleware Online Documentation Library
» About Identifying Top Performance Areas
» Ensure the Hardware Resources are Sufficient
» Selecting a Garbage Collection Scheme
» Disabling Explicit Garbage Collection
» Logging Low Memory Conditions
» Monitoring and Profiling the JVM
» Initialization Parameters for Oracle 10g
» Initialization Parameters for Oracle 11g
» Tuning Redo Logs Location and Sizing
» Automatic Segment-Space Management ASSM
» Reuse Database Connections Oracle Fusion Middleware Online Documentation Library
» Enable Data Source Statement Caching
» MaxClientsThreadsPerChild HTTP Connection Limits
» Setting the Maximum Number of Connections for Data Sources Tuning the WebLogic Sever Thread Pool
» Tuning Oracle WebCenter Concurrency
» Tuning BPEL Concurrency Control Concurrency
» Set Logging Levels Oracle Fusion Middleware Online Documentation Library
» About Oracle Fusion Middleware Performance Planning
» Define Operational Requirements Identify Performance Goals
» Understand User Expectations Define Your Performance Objectives
» Conduct Performance Evaluations Define Your Performance Objectives
» Design Applications for Performance and Scalability
» Monitor and Measure Your Performance Metrics
» Measuring Your Performance Metrics
» Viewing Performance Metrics Using Fusion Middleware Control
» Oracle WebLogic Server Administration Console
» WebLogic Diagnostics Framework WLDF
» Viewing Performance Metrics Using the Spy Servlet
» Oracle Process Manager and Notification Server Oracle Enterprise Manager 11g Grid Control
» Native Operating System Performance Commands Network Performance Monitoring Tools
» How Persistent Connections Can Reduce Httpd Process Availability
» Access Logging Oracle HTTP Server Logging Options
» Configuring the HostNameLookups Directive
» Error logging Oracle HTTP Server Logging Options
» Oracle HTTP Server SSL Caching
» SSL Application Level Data Encryption SSL Performance Recommendations
» Oracle HTTP Server Port Tunneling Performance Issues
» Analyze Static Versus Dynamic Requests
» Beware of a Single Data Point Yielding Misleading Results
» Beware of Having More Modules
» Monitoring Oracle HTTP Server
» DMS Nouns Common DMS Terms and Concepts
» DMS Sensors Common DMS Terms and Concepts
» DMS Availability Oracle Fusion Middleware Online Documentation Library
» DMS Architecture Overview Oracle Fusion Middleware Online Documentation Library
» Viewing Metrics Using the Spy Servlet
» Viewing metrics with JConsole
» Accessing DMS Metrics with WLDF
» DMS Execution Requests and Sub-Tasks
» DMS Execution Context Communication
» Adding and Editing Destinations
» Adding and Editing Event Routes
» Compound Operations Configuring the DMS Event System
» MBean Creator Destination HTTP Request Tracker Destination JRockit Flight Recorder Destination
» Understanding DMS Event Output
» Understanding DMS Event Actions
» DMS Best Practices Oracle Fusion Middleware Online Documentation Library
» About Oracle Metadata Services MDS
» Reclaim Disk Space Monitor the Database Performance
» Using Database Polling Interval for Change Detection
» Document Cache Tuning Cache Configuration
» Analyzing Performance Impact from Customization
» Understanding DMS metrics and Characteristics
» About Oracle ADF Oracle Fusion Middleware Online Documentation Library
» Oracle ADF Faces Configuration and Profiling
» Performance Considerations for ADF Faces
» Tuning ADF Faces Component Attributes
» Performance Considerations for Table and Tree Components
» Performance Considerations for autoSuggest
» Data Delivery - Lazy versus Immediate
» Performance Considerations for DVT Components
» Creating View Objects View Objects Tuning
» Configuring View Object Data Fetching
» Additional View Object Configurations
» Batch Processing ADF Server Performance
» General AM Pool Configurations
» AM Pool Sizing Configurations
» AM Pool Resource Cleanup Configurations
» ADFc: Region Usage ADF Server Performance
» Reusing Static Data ADF Server Performance
» Conditional Validations ADF Server Performance
» About Oracle TopLink and EclipseLink
» Entity Relationships Query Parameter Tuning
» Cache Refreshing Scenarios Cache Configuration Tuning
» Locking Modes Cache Configuration Tuning
» Coherence Integration Oracle Fusion Middleware Online Documentation Library
» Mapping and Descriptor Configurations
» Analyzing EclipseLink JPA Entity Performance
» Hardware Resources Optimizing Hardware Resources
» Configuring WebCache Memory Memory Configuration
» Network Bandwidth Optimizing Network Connections
» Network Connections Optimizing Network Connections
» Network-Related Parameters Optimizing Network Connections
» Optimizing Response Time Oracle Fusion Middleware Online Documentation Library
» Optimizing Performance with Oracle ADF
» About SOA Suite Configuration Properties
» Configuring Data Sources for SOA Weblogic Server Performance Tuning
» Modifying SOA Configuration Parameters JVM Tuning Parameters About Oracle Business Rules
» Use Java Beans Basic Tuning Considerations
» Assert Child Facts instead of Multiple Dereferences
» Avoid Side Affects in Rule Conditions
» Avoid Expensive Operations in Rule Conditions
» Consider Pattern Ordering Basic Tuning Considerations
» Consider the Ordering of Tests in Rule Conditions
» Use Functions Instead of AssertXPath and Supports XPath
» Dispatcher Invoke Threads BPEL Threading Model
» Dispatcher Engine Threads BPEL Threading Model
» Dispatcher System Threads BPEL Threading Model
» Dispatcher Maximum Request Depth
» Audit Level Basic Tuning Considerations
» AuditDetailThreshold Basic Tuning Considerations
» LargeDocumentThreshold Basic Tuning Considerations
» Validate XML Basic Tuning Considerations
» SyncMaxWaitTime Basic Tuning Considerations
» InstanceKeyBlockSize Basic Tuning Considerations
» Tables Impacted By Instance Data Growth
» About Oracle Mediator Oracle Fusion Middleware Online Documentation Library
» metricsLevel Basic Tuning Considerations
» Domain-Value Maps Basic Tuning Considerations
» Deferred Routing Rules Basic Tuning Considerations
» Resequencer Basic Tuning Considerations
» Audit Level LargeDocumentThreshold Basic Tuning Considerations
» Dispatcher Engine Threads Basic Tuning Considerations
» Dispatcher Invoke Threads Basic Tuning Considerations
» Process Measurement Tuning Process Analytics
» Tuning Process Cubes Tuning Process Analytics
» Minimize Client Response Time
» Choose the Right Workflow Service Client
» Narrow Qualifying Tasks Using Precise Filters
» Retrieve Subset of Qualifying Tasks Paging
» Fetch Only the Information That Is Needed for a Qualifying Task
» Reduce the Number of Return Query Columns Use the Aggregate API for Charting Task Statistics
» Use the Count API Methods for Counting the Number of Tasks
» Create Indexes On Demand for Flexfields
» Use the doesTaskExist Method
» Archive Completed Instances Periodically
» Select the Appropriate Workflow Callback Functionality
» Minimize Performance Impacts from Notification
» Deploy Clustered Nodes Improving Server Performance
» Use Workflow Reports to Monitor Progress
» Specify Escalation Rules Completing Workflows Faster
» Specify User and Group Rules for Automated Assignment
» Use Task Views to Prioritize Work
» Tuning Identity Provider Oracle Fusion Middleware Online Documentation Library
» Tuning the Database Oracle Fusion Middleware Online Documentation Library
» About Oracle Adapters Oracle Fusion Middleware Online Documentation Library
» Inbound Throttling Best Practices
» Outbound Throttling Best Practices
» Outbound Performance Best Practices
» JCA Adapter Basic Tuning Considerations
» Existence Checking Oracle JCA Adapter for Database Tuning
» adapter.jms.receive.threads Property
» Oracle Socket Adapter Tuning Oracle MQ Adapter Tuning
» Tune the Active Data Retrieval Interval
» Message Batching Enterprise Message Source Tuning
» About Oracle Business Activity Monitoring About Oracle User Messaging Services
» SMPP Driver Performance Tuning
» Email Driver Polling Frequency
» Database Tuning for Optimal Throughput
» MDS Cache Size Oracle Fusion Middleware Online Documentation Library
» Number of Threads Oracle Fusion Middleware Online Documentation Library
» JMS Multiple Out Queues Setting
» Design Time Considerations for Proxy Applications
» Design Considerations for XQuery Tuning
» About Oracle Internet Directory
» Introduction to Tuning Oracle Internet Directory
» Database Parameters Basic Tuning Considerations
» LDAP Server Attributes Basic Tuning Considerations
» Database Statistics Basic Tuning Considerations
» Replication or Oracle Directory Integration Platform Replication Server Configuration
» Garbage Collection Configuration Advanced Configurations
» Oracle Internet Directory with Oracle RAC Database
» Password Policies and Verifier Profiles
» Values for Configuring the Entry Cache
» Tuning Security Event Tracking
» Number of Entries to be Returned by a Search
» Timeout for Write Operations
» Bulk Load Operation Specific Use Cases
» Bulk Delete Operation Specific Use Cases
» High LDAP Write Operations Load
» Entry Cache Enabled Configuration
» Entry Cache Disabled Configuration.
» Optimizing Searches for Skewed Attributes
» Optimizing Performance of Complex Search Filters
» Updating Database Statistics by Using oidstats.sql
» Setting Performance-Related Replication Configuration Attributes
» Modifying Instance-Specific Attributes by Using Fusion Middleware Control
» Modifying Shared Attributes by Using Fusion Middleware Control
» Modifying Performance-Related Instance-Specific Configuration Entry Attributes
» About Oracle Virtual Directory Basic Tuning Considerations
» Database Adapters Advanced Tuning Configurations
» Join Adapters Advanced Tuning Configurations
» General Filter Tuning Advanced Tuning Configurations
» Load Balancer Local Store Adapter Tuning
» Cache Hit Logic Cache Plug-In Tuning
» Cache Plug-in Memory Management
» LDAP Listener Tuning Advanced Tuning Configurations
» Server Tuning Advanced Tuning Configurations
» Connection Pool Settings Connection Settings Federation Data Store Settings
» RDBMS Compression Database Tuning
» About Oracle Identity Federation Oracle HTTP Server Tuning
» SOAP Connections SAML Protocol Tuning
» XML Digital Signatures POST and Artifact Single Sign-On Profiles
» About Security Services Oracle Fusion Middleware Online Documentation Library
» OPSS PDP Service Tuning Parameters
» Policy Manager Oracle Web Services Security Tuning
» Configuring the Log Assertion to Record SOAP Messages
» Monitoring the Performance of Web Services
» Setting System Limit Setting JDBC Data Source
» Setting JRockit Virtual Machine JVM Arguments Using Content Compression to Reduce Downloads
» Setting HTTP Session Timeout Setting JSP Page Timeout
» Setting ADF Client State Token
» Setting ADF View State Compression
» Setting MDS Cache Size and Purge Rate Configuring Concurrency Management
» Tuning Performance of the Announcements Service
» Tuning Performance of the Discussions Service
» Tuning Performance of the Portlet Service
» Enabling Java Object Cache for WSRP Producers
» Suppressing Optimistic Rendering for WSRP Portlets
» Tuning Performance of Oracle PDK-Java Producers
» Setting ExcludedActionScopeRequestAttributes for Portlets
» Setting DefaultServedResourceRequiresWsrpRewrite for WSRP Portlets
» Setting DefaultProxiedResourceRequiresWsrpRewrite for WSRP Portlets
» Importing Consumer CSS Files in IFrame Portlets
» Configuring Portlet Timeout Tuning Portlet Configuration
» Tuning Performance of OmniPortlet
» Segregation of Network Traffic Segregation of Processes and Hardware Interrupt Handlers
» CPU Requirements Memory Requirements
Show more