chbla
Advice needed: IoT Streams with Elixir: Rules engines?
Hi there,
We are running an internal platform for IoT sensors. Elixir is perfect for this especially with projects like genstage/flow/broadway.
However, we would like to integrate a rules engine for our data streams that can trigger actions like alerts, notifications based on thresholds, change over time, etc.
I’m therefore looking for options and frameworks that already exist and that we could a) easily plug in (e.g. using queues) and b) allow for seamless integration in our Phoenix application.
It’s quite difficult to find out what to search for, so far Influx Capacitor (TICK stack) sounds very promising. Besides that we could probably also use something like white labeled Node-Red (WYSIWYG) or parts of the ELK stack.
Does anyone have experience here or can share some recommendations/suggestions?
Thank you very much,
Christoph
Most Liked
chasers
Are pipelines not enough?
event
|> rule_a()
|> rule_b()
|> rule_c()
Or like you want to have a file that defines rules dynamically?
chasers
I think you could even have your rule modules, then a list of rule names that mapped to those modules and then dynamically built that pipeline based on the input of rule names from somewhere (a file, a database record, etc).
StefanHoutzager
I have used a camunda rules modeler to create executable xml’s within a bpms. The interpreter for the rules I wrote in elixir (for one of the ruletypes). But camunda has it’s own interpreter written in java also. I never tried it, but here is a link DMN Decision Engine | Collaboratively Automate Business Decisions | Camunda | Camunda
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









