What are the different routing algorithms?
mod_oc4j provides three distinct kinds of routing: (a) round robin to all OC4J processes or (b) random or (c) metric based. The effective performance of round robin and random algorithms is the same. Metric-based routing is based on the OC4J process informing mod_oc4j of a metric based on its internal resource availability (for example, connection pools). mod_oc4j then uses this metric to route elsewhere. Note that metric-based routing is not based on CPU and/or memory utilization of a given machine. The default mode for round robin and metric-based algorithms is affinity based. In this mode, these algorithms will always route to the local node, except in cases when no process is available on the local node. For more detailed explanations of the routing algorithms, see the documentation.