Book Image

Oracle SOA Suite 11g Performance Tuning Cookbook

Book Image

Oracle SOA Suite 11g Performance Tuning Cookbook

Overview of this book

Oracle SOA Suite 11g forms the heart of many organisations' Service Oriented Architecture. Yet for such a core component, simple information on how to tune and configure SOA Suite and its infrastructure is hard to find. Because Oracle SOA Suite 11g builds on top of a variety of infrastructure components, up until now there has been no one single complete reference that brings together all the best practices for tuning the whole SOA stack. Oracle SOA Suite 11g Performance Tuning Cookbook contains plenty of tips and tricks to help you get the best performance from your SOA Suite infrastructure. From monitoring your environment so you know where bottlenecks are, to tuning the Java Virtual Machine, WebLogic Application Server, and BPEL and BPMN mediator engines, this book will give you the techniques you need in a easy to follow step-by-step guide. Starting with how to identify problems, and building on that with sections on monitoring, testing, and tuning, the recipes in this book will take you through many of the options available for performance tuning your application. There are many considerations to make when trying to get the best performance out of the Oracle SOA Suite platform. This performance Cookbook will teach you the whole process of tuning JVM garbage collection and memory, tuning BPEL and BPMN persistence settings, and tuning the application server. This book focuses on bringing together tips on how to identify the key bottlenecks in the whole SOA Suite infrastructure, and how to alleviate them. The Oracle SOA Suite 11g Performance Tuning Cookbook will ensure that you have the tools and techniques to get the most out of your infrastructure, delivering reliable, fast, and scalable services to your enterprise.
Table of Contents (19 chapters)
Oracle SOA Suite Performance Tuning Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Setting HTTP timeouts for external services


Composite services often call out to external HTTP web services. If these external services are not available, or are slow to respond, then it can impact the application performance. By tuning the timeout to a lower or higher value, performance can be improved.

Getting ready

You will need to be familiar with SOA application development principals for this recipe.

How to do it...

These steps will set the timeout for an external HTTP service:

  1. Open the composite.xml file in JDeveloper.

  2. Select the source view at the bottom of the main pane.

  3. Locate the <reference> section for the external service that you want to set the timeout for.

  4. Inside the <binding> tags, add the property oracle.webservices.httpReadTimeout of type xs:string with a value high enough to allow the service to respond, such as 60000 (60 seconds).

  5. Add the property oracle.webservices.httpConnTimeout with a type xs:string, and a low value, such as 5000 (5 seconds).

  6. Save the composite...