A guide to rules engines for IoT: CEP Engines

Veselin Pizurica

COO & Co-founder

A guide to rules engines for IoT: CEP Engines

A guide to rules engines for IoT: CEP Engines

Veselin Pizurica

COO & Co-founder

What are CEP engines?

Although part (and predecessors) of stream processing engines, Complex Event Processing engines deal with events in a slightly different (and better) way than their bigger and younger siblings.

We see CEP engines being deployed in edge computing nowadays, where locality, low latency and low hardware footprint are important. CEPs are a good fit whenever a low footprint is required, but don’t scale well since all event processing happens in-memory.

What are some examples of CEP engines?

WSO2, Litmus Automation and Foghorn are some examples of vendors offering CEP rules engines for edge computing at the time of writing this blog.

Can you build complex logic with a CEP engine?

Arguably, high order logic constructions (Combining multiple non-binary outcomes, Majority voting, Conditional executions) are possible, but with a lot of difficulty and coding effort, since CEP engines are not designed with these features in mind.

Can you model time efficiently in the application with a CEP engine?

Often CEP engines have built-in operators such as time windows and temporal event sequences integrated into their query language. CEP engines, like Stream Processing engines, can’t cope with async and sync events in the rule. They also have difficulty dealing with the “past” – meaning invalidating events after a given period of time. Compared to Stream Processing engines however, they often have better capabilities for pattern matching, which enables better anomaly detection at runtime, hence we give them a better score, as this is one of the stronger points of CEP engines.

Are CEP engines adaptable?

Flexibility is a weak point of these rules engines but, compared to stream processing engines, it ranks better for extensibility since one can still imagine better API integration capability, mostly in the actionable part (send SMS if something goes wrong).

Are CEP engines easy to operate?

Similar to Stream Processing engines, in anything beyond simple use cases, operability is extremely hard to achieve since templating, updating rules per device or version updates are very difficult.

Are CEP engines scalable?

CEPs are a good fit when a low footprint is required but suffer from scalability issues because of the lack of distributed computing capabilities and because they process all data in-memory.

This is an excerpt from our latest Benchmark Report on Rules Engines used in the IoT domain. You can have a look at a summary of the results or download the full report over here.


20%

avg.
Cost saving

36%

AVG. reduction in
travel distance and time

11%

AVG. increase in
capacity

1.3

AVG. additional
appointments per shift

99.5%

Improved
SLA adherence

20- 30%

Improvement in
First-time fix-rate

See the video below to see the combination of Waylay and FLS VISITOUR in action:

What’s next?

Autonomous service operations is getting supercharged by the advent of smart synthetic software agents, powered by Large Language Models (LLMs). These synthetic agents will assist human service agents to increase capacity and reduce tedious manual work, like root cause analysis of asset performance issues, updating work plans to deal with impending asset shut downs, etc. 

LLM technologies have matured enough to couple automated asset health monitoring with autonomous field job scheduling to improve asset uptime and Service Level Agreement adherence. Waylay’s analytics and orchestration platform can serve various agentic LLM applications for autonomous service operations that leverages the FLS VISITOUR scheduling engine to optimize the field force load and reduce wasted travel hours. The result is  faster preventive asset maintenance activities, less human error during scheduling and an overall better end customer experience.

Want to know more? Please get in touch with us here

About the author

Co-founder and CTO @Waylay, background in telecommunications. Veselin is the author of 12 machine to machine technology patents.

Request a Demo
At Waylay, we believe the best way to showcase the value of our automation platforms is by letting you experience it yourself.

ACCESS BROCHURE
Download Now
Posts by industry
No items found.
Request a Demo
Discover firsthand how Waylay's Digital Twin Automation Platform is the #1 asset monitoring tool.
ACCESS BROCHURE
Download Now
Posts by industry
No items found.
Request a Demo
Discover firsthand how Waylay's Digital Twin Automation Platform is the #1 asset monitoring tool.
ACCESS BROCHURE
Download Now
Posts by industry
No items found.
Request a Demo
Discover firsthand how Waylay's Digital Twin Automation Platform is the #1 asset monitoring tool.
ACCESS BROCHURE
Download Now
Posts by industry
No items found.
ACCESS solution brief
Download Now
Waylay for finance
Explore Our Solution
Contact Us
Click the button below to reach our contact page and get in touch. We look forward to hearing from you and assisting with your inquiries.
Start Here
Posts by industry
No items found.
More by
Veselin Pizurica