All Projects → lf-edge → ekuiper

lf-edge / ekuiper

Licence: Apache-2.0 license
Lightweight data stream processing engine for IoT edge

Programming Languages

go
31211 projects - #10 most used programming language
c
50402 projects - #5 most used programming language
shell
77523 projects
python
139335 projects - #7 most used programming language
Makefile
30231 projects
Mustache
554 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to ekuiper

Kuiper
A lightweight IoT edge analytics software
Stars: ✭ 327 (-66.46%)
Mutual labels:  rule-engine, edge, edge-computing
AdvantEDGE
AdvantEDGE, Mobile Edge Emulation Platform
Stars: ✭ 36 (-96.31%)
Mutual labels:  edge, edge-computing
object-size-detector-python
Monitor mechanical bolts as they move down a conveyor belt. When a bolt of an irregular size is detected, this solution emits an alert.
Stars: ✭ 26 (-97.33%)
Mutual labels:  edge, edge-computing
concurrent-video-analytic-pipeline-optimization-sample-l
Create a concurrent video analysis pipeline featuring multistream face and human pose detection, vehicle attribute detection, and the ability to encode multiple videos to local storage in a single stream.
Stars: ✭ 39 (-96%)
Mutual labels:  edge, edge-computing
object-flaw-detector-cpp
Detect various irregularities of a product as it moves along a conveyor belt.
Stars: ✭ 19 (-98.05%)
Mutual labels:  edge, edge-computing
intruder-detector-python
Build an application that alerts you when someone enters a restricted area. Learn how to use models for multiclass object detection.
Stars: ✭ 16 (-98.36%)
Mutual labels:  edge, edge-computing
safety-gear-detector-python
Observe workers as they pass in front of a camera to determine if they have adequate safety protection.
Stars: ✭ 54 (-94.46%)
Mutual labels:  edge, edge-computing
duedge-recipes
DuEdge百度边缘网络计算样例代码
Stars: ✭ 25 (-97.44%)
Mutual labels:  edge, edge-computing
Macchina.io
macchina.io IoT Edge Device SDK is a powerful C++ and JavaScript SDK for edge devices, IoT gateways and connected embedded systems.
Stars: ✭ 437 (-55.18%)
Mutual labels:  edge, edge-computing
People Counter Python
Create a smart video application using the Intel Distribution of OpenVINO toolkit. The toolkit uses models and inference to run single-class object detection.
Stars: ✭ 62 (-93.64%)
Mutual labels:  edge, edge-computing
Neardb
Simple document db made for infinitely scalable globally distributed reads.
Stars: ✭ 92 (-90.56%)
Mutual labels:  edge, edge-computing
motor-defect-detector-python
Predict performance issues with manufacturing equipment motors. Perform local or cloud analytics of the issues found, and then display the data on a user interface to determine when failures might arise.
Stars: ✭ 24 (-97.54%)
Mutual labels:  edge, edge-computing
object-flaw-detector-python
Detect various irregularities of a product as it moves along a conveyor belt.
Stars: ✭ 17 (-98.26%)
Mutual labels:  edge, edge-computing
Mainflux
Industrial IoT Messaging and Device Management Platform
Stars: ✭ 1,341 (+37.54%)
Mutual labels:  edge, edge-computing
Baetyl
Extend cloud computing, data and service seamlessly to edge devices.
Stars: ✭ 1,655 (+69.74%)
Mutual labels:  edge, edge-computing
Nrules
Rules engine for .NET, based on the Rete matching algorithm, with internal DSL in C#.
Stars: ✭ 1,003 (+2.87%)
Mutual labels:  rule-engine
Mon Entreprise
L'assistant officiel de l'entrepreneur
Stars: ✭ 123 (-87.38%)
Mutual labels:  rule-engine
Rule Engine Front
🔥 🔥 🔥 📌 规则引擎前端 📌 RuleEngine 基于web可视化配置,简单高效快捷。
Stars: ✭ 40 (-95.9%)
Mutual labels:  rule-engine
Grule Rule Engine
Rule engine implementation in Golang
Stars: ✭ 729 (-25.23%)
Mutual labels:  rule-engine
SparkFun Edge BSP
BSP and examples to integrate the SparkFun TensorFlow board with the AmbiqSuite
Stars: ✭ 19 (-98.05%)
Mutual labels:  edge-computing

LF Edge eKuiper - An edge lightweight IoT data analytics software

GitHub Release Docker Pulls Go Report Card Slack Twitter Community YouTube

English | 简体中文

Overview

LF Edge eKuiper is a lightweight IoT data analytics and stream processing engine running on resource-constraint edge devices. The major goal for eKuiper is to provide a streaming software framework (similar to Apache Flink) in edge side. eKuiper's rule engine allows user to provide either SQL based or graph based (similar to Node-RED) rules to create IoT edge analytics applications within few minutes.

arch

User scenarios

It can be run at various IoT edge user scenarios, such as,

  • Real-time processing of production line data in the IIoT
  • Gateway of connected vehicle analyze the data from CAN in IoV
  • Real-time analysis of wind turbines and smart bulk energy storage data in smart energy

eKuiper processing at the edge can greatly reduce system response latency, save network bandwidth and storage costs and improve system security.

Features

  • Lightweight

    • Core server package is only about 4.5M, memory footprint is about 10MB
  • Cross-platform

    • CPU Arch:X86 AMD * 32/64; ARM * 32/64; PPC
    • Popular Linux distributions, OpenWrt Linux, MacOS and Docker
    • Industrial PC, Raspberry Pi, industrial gateway, home gateway, MEC edge cloud server
  • Data analysis support

    • Support data ETL
    • Data order, group, aggregation and join with different data sources (the data from databases and files)
    • 60+ functions, includes mathematical, string, aggregate and hash etc
    • 4 time windows & count window
  • Highly extensible

    It supports to extend at Source, Functions and Sink with Golang or Python.

    • Source: allows users to add more data source for analytics.
    • Sink: allows users to send analysis result to different customized systems.
    • UDF functions: allow users to add customized functions for data analysis (for example, AI/ML function invocation)
  • Management

  • Integration with EMQX products

    Seamless integration with EMQX, Neuron & NanoMQ, and provided an end-to-end solution from IIoT, IoV

Quick start

Community

Join our Slack, and then join ekuiper or ekuiper-user channel.

Meeting

Subscribe to community events calendar.

Weekly community meeting at Friday 10:30AM GMT+8:

Contributing

Thank you for your contribution! Please refer to the CONTRIBUTING.md for more information.

Performance test result

MQTT throughput test

  • Using JMeter MQTT plugin to send IoT data to EMQX Broker, such as: {"temperature": 10, "humidity" : 90}, the value of temperature and humidity are random integer between 0 - 100.
  • eKuiper subscribe from EMQX Broker, and analyze data with SQL: SELECT * FROM demo WHERE temperature > 50
  • The analysis result are wrote to local file by using file sink plugin.
Devices Message # per second CPU usage Memory usage
Raspberry Pi 3B+ 12k sys+user: 70% 20M
AWS t2.micro( 1 Core * 1 GB)
Ubuntu18.04
10k sys+user: 25% 20M

EdgeX throughput test

  • A Go application is written to send data to ZeroMQ message bus, the data is as following.

    {
      "Device": "demo", "Created": 000, …
      "readings": 
      [
         {"Name": "Temperature", value: "30", "Created":123 …},
         {"Name": "Humidity", value: "20", "Created":456 …}
      ]
    }
    
  • eKuiper subscribe from EdgeX ZeroMQ message bus, and analyze data with SQL: SELECT * FROM demo WHERE temperature > 50. 90% of data will be filtered by the rule.

  • The analysis result are sent to nop sink, so all the result data will be ignored.

Message # per second CPU usage Memory usage
AWS t2.micro( 1 Core * 1 GB)
Ubuntu18.04
11.4 k sys+user: 75% 32M

Max number of rules support

  • 8000 rules with 800 message/second in total
  • Configurations
    • 2 core * 4GB memory in AWS
    • Ubuntu
  • Resource usage
    • Memory: 89% ~ 72%
    • CPU: 25%
    • 400KB - 500KB / rule
  • Rule
    • Source: MQTT
    • SQL: SELECT temperature FROM source WHERE temperature > 20 (90% data are filtered)
    • Sink: Log

Multiple rules with shared source instance

  • 300 rules with a shared MQTT stream instance.
    • 500 messages/second in the MQTT source
    • 150,000 message processing per second in total
  • Configurations:
    • 2 Core * 2GB memory in AWS
    • Ubuntu
  • Resource usage
    • Memory: 95MB
    • CPU: 50%
  • Rule
    • Source: MQTT
    • SQL: SELECT temperature FROM source WHERE temperature > 20, (90% data are filtered)
    • Sink: 90% nop and 10% MQTT

To run the benchmark by yourself, please check the instruction.

Documents

Check out the latest document in official website.

Build from source

Preparation

  • Go version >= 1.18

Compile

  • Binary:

    • Binary: $ make

    • Binary files that support EdgeX: $ make build_with_edgex

    • Minimal binary file with core runtime only: $ make build_core

  • Packages: $ make pkg

    • Packages: $ make pkg

    • Package files that support EdgeX: $ make pkg_with_edgex

  • Docker images: $ make docker

    Docker images support EdgeX by default

Prebuilt binaries are provided in the release assets. If using os or arch which does not have prebuilt binaries, please use cross-compilation, refer to this doc.

During compilation, features can be selected through go build tags so that users can build a customized product with only the desired feature set to reduce binary size. This is critical when the target deployment environment has resource constraint. Please refer to features for more detail.

Open source license

Apache 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].