On complexity and optimization of expensive queries in complex event processing
Cayuga: A General Purpose Event Monitoring System