Apama 10.7.2 | Developing Apama Applications | Developing Apama Applications in EPL | Testing and Tuning EPL monitors | Tuning contexts
 
Tuning contexts
 
Parallel processing for instances of an event type
Parallel processing for long-running calculations
You should implement contexts whenever you want the correlator to perform concurrent processing. Work to be divided among contexts should have minimum or no interdependencies and no ordering requirements. Many applications present a natural way to partition work that is largely independent. For example, you could partition a financial application by stock symbol, or by user, or by strategy.
The following topics describe common ways to optimize use of contexts.