Re:Show HN: Pipelines – Language for scripting parrallel pip...
by tedmiston on Saturday January 19, 2019 @04:20PM
(#18949245)
This looks pretty interesting.
Just curious if you looked at Apache Airflow as the integration functionality and pipeline / DAG configuration approaches are similar and it's also done in Python.
Re:Show HN: Pipelines – Language for scripting parrallel pip...
by otherme123 on Sunday January 20, 2019 @06:29AM
(#18952537)
It's a relatively simple Nim code. It takes a line that starts with "import" and searches for three components: module, function and alias. If you don't provide an alias, you'll get an index error.
Re:Show HN: Pipelines – Language for scripting parrallel pip...
by Escapado on Sunday January 20, 2019 @05:10AM
(#18952281)
Should have named it Pypelines. But seriously though I am not sure what the benefits over multiprocessing are. It looks a little cryptic at first sight.
Just curious if you looked at Apache Airflow as the integration functionality and pipeline / DAG configuration approaches are similar and it's also done in Python.
https://github.com/apache/airflow
The Nim language is new to me. What was the experience like implementing a framework in it?
You can trivially define a worker pool or arbitrary size and pipe a stream of values through your function using multiple cores, avoiding GIL issues.
If you have something which scales to multiple machines just use celery or redis streams.
Small bug in the example code? I think this:
Should be this:The code splits the line in function names, args and those operators, to then orchestrate the pipeline flow.