
The mandelbrot calculation is neat example to provide to show how the WBE engine can be used to compute various calculations (the mandelbrot set in this example). This will also create an image from the output if a filename is provided and the pillow library is installed (that library does the actual image writing). See: http://en.wikipedia.org/wiki/Mandelbrot_set Part of blueprint more-examples Change-Id: I12b9b7a2ce61b17ddaa2930cc9cf266ae0c60932
3.8 KiB
Making phone calls
Note
Full source located at simple_linear
.
../../taskflow/examples/simple_linear.py
Making phone calls (automatically reverting)
Note
Full source located at reverting_linear
.
../../taskflow/examples/reverting_linear.py
Building a car
Note
Full source located at build_a_car
.
../../taskflow/examples/build_a_car.py
Linear equation solver (explicit dependencies)
Note
Full source located at calculate_linear
.
../../taskflow/examples/calculate_linear.py
Linear equation solver (inferred dependencies)
Source:
graph_flow.py
../../taskflow/examples/graph_flow.py
Linear equation solver (in parallel)
Note
Full source located at calculate_in_parallel
../../taskflow/examples/calculate_in_parallel.py
Creating a volume (in parallel)
Note
Full source located at create_parallel_volume
../../taskflow/examples/create_parallel_volume.py
Storing & emitting a bill
Note
Full source located at fake_billing
../../taskflow/examples/fake_billing.py
Suspending a workflow & resuming
Note
Full source located at resume_from_backend
../../taskflow/examples/resume_from_backend.py
Creating a virtual machine (resumable)
Note
Full source located at resume_vm_boot
../../taskflow/examples/resume_vm_boot.py
Creating a volume (resumable)
Note
Full source located at resume_volume_create
../../taskflow/examples/resume_volume_create.py
Running engines via iteration
Note
Full source located at run_by_iter
../../taskflow/examples/run_by_iter.py
Controlling retries using a retry controller
Note
Full source located at retry_flow
../../taskflow/examples/retry_flow.py
Distributed execution (simple)
Note
Full source located at wbe_simple_linear
../../taskflow/examples/wbe_simple_linear.py
Distributed mandelbrot (complex)
Note
Full source located at wbe_mandelbrot
Output
Code
../../taskflow/examples/wbe_mandelbrot.py