example/

directory
v1.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2022 License: Apache-2.0

README

Examples

All examples can be run by Task, following the Install Task, execute task -l in this directory will list all the examples.

$ task -l |grep example

* example-basic: 			YoMo basic usage
* example-pipeline: 			Unix pipeline to cloud
* example-iopipe: 			IO Pipe
* example-multi-sfn: 			Multiple stream functions
* example-cascading-zipper: 		Cascading zippers

can run each example directly by task example-basic, task example-cascading-zipper and etc.

Basic example

  • 0-basic: process the streams from IoT sound sensor.

Linux Pipeline over cloud

Multiple stream functions

  • 3-multi-sfn: use 3 stream functions to process the streams in different cases.
    • stream-fn-1: calculate the sound value in real-time.
    • stream-fn-2: print the warning message when the sound value reaches a threshold.
    • stream-fn-3: calculate the average value in a sliding window.

Cascading zippers

Directories

Path Synopsis
0-basic
sfn
3-multi-sfn
4-cascading-zipper
sfn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL