Sell Cron, Buy Airflow!�Modern Data Pipelines in Finance
James Meickle
Site Reliability Engineer, Quantopian
Velocity New York, 10/02/2018
@jmeickle
About James
Is this a data pipeline?
cron
@jmeickle
DISCLAIMER 1:
I am an SRE professional at a financial institution, not a finance professional!
@jmeickle
DISCLAIMER 2:
Opinions expressed in this presentation are my own, not Quantopian's!
@jmeickle
DISCLAIMER 3:
This presentation is not investment advice!
@jmeickle
SEC guidelines are extremely serious.
@jmeickle
PART 1:
Data pipelines and data problems
@jmeickle
@jmeickle
+
@jmeickle
data
@jmeickle
SRE Team
@jmeickle
Black Team
@jmeickle
Community data
@jmeickle
Internal data
@jmeickle
@jmeickle
@jmeickle
High reliability
@jmeickle
Unreliable data
@jmeickle
Brittle crontabs
@jmeickle
Uncoordinated logic
@jmeickle
SRE bottleneck
@jmeickle
Of course we wanted to
"fix our data pipelines", but...
@jmeickle
What were our business goals?
@jmeickle
PART 2:
Business goals and tool selection
@jmeickle
Reliability
@jmeickle
Observability
@jmeickle
Velocity
@jmeickle
Our data problems are unique, just like everyone else's.
@jmeickle
Democratization
@jmeickle
NOT big data
@jmeickle
NOT streaming data
@jmeickle
@jmeickle
@jmeickle
@jmeickle
@jmeickle
@jmeickle
@jmeickle
And the winner is...
@jmeickle
apache airflow
@jmeickle
@jmeickle
<screenshot of UI>
@jmeickle
Self-explaining systems are more observable
@jmeickle
@jmeickle
@jmeickle
import airflow
@jmeickle
PART 3:
The one with the code samples
@jmeickle
@jmeickle
@jmeickle
@jmeickle
@jmeickle
when 2 airflow??
@jmeickle
@jmeickle
@jmeickle
@jmeickle
@jmeickle
@jmeickle
@jmeickle
@jmeickle
@jmeickle
@jmeickle
@jmeickle
@jmeickle
I 💖
@jmeickle
@jmeickle
Appendix 1:
Why Airflow is winning
@jmeickle
@jmeickle
@jmeickle
<functional architecture image>
@jmeickle
Appendix 2:
Future Development
@jmeickle
<mock up of DAG simulation>
@jmeickle
@jmeickle
@jmeickle
Does your team need
data engineering training?
Talk to me at the reception!
@jmeickle
Thank you!
@jmeickle
This presentation is for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation for any security; nor does it constitute an offer to provide investment advisory or other services by Quantopian, Inc. ("Quantopian"). Nothing contained herein constitutes investment advice or offers any opinion with respect to the suitability of any security, and any views expressed herein should not be taken as advice to buy, sell, or hold any security or as an endorsement of any security or company. In preparing the information contained herein, Quantopian, Inc. has not taken into account the investment needs, objectives, and financial circumstances of any particular investor. Any views expressed and data illustrated herein were prepared based upon information, believed to be reliable, available to Quantopian, Inc. at the time of publication. Quantopian makes no guarantees as to their accuracy or completeness. All information is subject to change and may quickly become unreliable for various reasons, including changes in market conditions or economic circumstances.
@jmeickle