|
3 年之前 | |
---|---|---|
.. | ||
cli | 3 年之前 | |
deploy | 3 年之前 | |
edgex | 3 年之前 | |
extension | 3 年之前 | |
manager-ui | 3 年之前 | |
operation | 3 年之前 | |
plugins | 3 年之前 | |
resources | 5 年之前 | |
restapi | 3 年之前 | |
rules | 3 年之前 | |
sqls | 3 年之前 | |
JSON_Expressions.pptx | 5 年之前 | |
README.md | 3 年之前 | |
arch.png | 4 年之前 | |
cross-compile.md | 3 年之前 | |
getting_started.md | 3 年之前 | |
quick_start_docker.md | 3 年之前 | |
reference.md | 3 年之前 | |
streaming_class_diagram.pdf | 5 年之前 | |
tutorial.md | 3 年之前 |
LF Edge eKuiper is an edge lightweight IoT data analytics / streaming software implemented by Golang, and it can be run at all kinds of resource constrained edge devices. One goal of eKuiper is to migrate the cloud streaming software frameworks (such as Apache Spark,Apache Storm and Apache Flink) to edge side. eKuiper references these cloud streaming frameworks, and also considered special requirement of edge analytics, and introduced rule engine, which is based on Source
, SQL (business logic)
and Sink
, rule engine is used for developing streaming applications at edge side.
User scenarios
It can be run at various IoT edge use scenarios, such as real-time processing of production line data in the IIoT; Gateway of Connected Vehicle analyze the data from data-bus in real time; Real-time analysis of urban facility data in smart city scenarios. eKuiper processing at the edge can reduce system response latency, save network bandwidth and storage costs, and improve system security.
Lightweight
Cross-platform
Data analysis support
Highly extensibile
Plugin system is provided, and it supports to extend at Source
, SQL functions
and Sink
.
UDF functions: embedded support for 60+ functions, and provide extension points for SQL functions
Management
Integration with EMQ X Edge
Seamless integration with EMQ X Neuron & EMQ X Edge, and provided an end to end solution from messaging to analytics.
Join our Slack, and then join ekuiper or ekuiper-user channel.
{"temperature": 10, "humidity" : 90}
, the value of temperature and humidity are random integer between 0 - 100.SELECT * FROM demo WHERE temperature > 50
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 |
{
"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, all of 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 |
Reference guide
Binary:
Binary: $ make
Binary files that support EdgeX: $ make build_with_edgex
Packages: $ make pkg
Packages: $ make pkg
Packages files that support EdgeX: $ make pkg_with_edgex
Docker images: $ make docker
Docker images support EdgeX by default
:::tip Tip
eKuiper plugins bases on Golang, and due to Golang restrictions, CGO_ENABLED
flag must be set to 0 to use the Golang cross-compile. But with this flag mode, the Golang plugins will not work. So if you want to use plugins in eKuiper, you can NOT use cross-compile to produce the binary packages.
:::
$ make cross_build
$ make cross_docker