Oracle Complex Event Processing High Availability

Developers make the Oracle CEP applications that they write HA-capable by adding additional components to the application's event processing network. (EPN) ...
310KB Sizes 4 Downloads 121 Views
Oracle Complex Event Processing High Availability An Oracle White Paper November 2010

Oracle Complex Event Processing High Availability

Introduction........................................................................................................ 4 HA overview ...................................................................................................... 4 Purpose of HA .............................................................................................. 4 Types of HA .................................................................................................. 5 Active-active .............................................................................................. 5 Active-passive............................................................................................ 6 Upstream backup ...................................................................................... 7 HA quality of service .................................................................................... 8 Missed events ............................................................................................ 8 Duplicate events ....................................................................................... 8 Wrong Events ........................................................................................... 9 Precise recovery ........................................................................................ 9 Oracle CEP HA Overview ............................................................................... 9 Failure Scenarios.......................................................................................... 10 HA Adapters ................................................................................................ 12 HA Use cases.................................................................................................... 13 HA application that publishes to external system .................................. 14 HA design patterns ..................................................................................... 14 Adapter types.................................................................................................... 15 Simple failover ............................................................................................. 15 Simple failover with buffering ................................................................... 16 Lightweight queue trimming ..................................................................... 16 Precise ........................................................................................................... 17 Connecting to external systems ............................................................ 17 JMS............................................................................................................ 17 JTA............................................................................................................ 18 Connecting to other CEP services ....................................................... 19 Coherence ................................................................................................ 20 Application considerations ............................................................................. 20 EPN considerations .................................................................................... 20 Ordering of output events ..................................................................... 20 Deterministic behavior .......................................................................... 21 Multithreading ......................................................................................... 21 Monotonic versus nonmonotonic event ids ....................................... 21

Oracle CEP High Availability Page 2

CQL considerations......................................................................................... 22 Application time versus system time ................................................... 22 Restart after failure