journal article·2020-12-28Open access

An Event-Driven Serverless ETL Pipeline on AWS

Antreas Pogiatzis, Georgios Samakovitis

Applied Sciences· Volume 11· Issue 1

Abstract

This work presents an event-driven Extract, Transform, and Load (ETL) pipeline serverless architecture and provides an evaluation of its performance over a range of dataflow tasks of varying frequency, velocity, and payload size. We design an experiment while using generated tabular data throughout varying data volumes, event frequencies, and processing power in order to measure: (i) the consistency of pipeline executions; (ii) reliability on data delivery; (iii) maximum payload size per pipeline; and, (iv) economic scalability (cost of chargeable tasks). We run 92 parameterised experiments on a simple AWS architecture, thus avoiding any AWS-enhanced platform features, in order to allow for unbiased assessment of our model’s performance. Our results indicate that our reference architecture can achieve time-consistent data processing of event payloads of more than 100 MB, with a throughput of 750 KB/s across four event frequencies. It is also observed that, although the utilisation of an SQS queue for data transfer enables easy concurrency control and data slicing, it becomes a bottleneck on large sized event payloads. Finally, we develop and discuss a candidate pricing model for our reference architecture usage.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Cloud Computing and Resource Management · Advanced Data Storage Technologies · Parallel Computing and Optimization Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Computing and Mathematical Sciences, University of Greenwich, Old Royal Naval College, Park Row, Greenwich, London SE10 9LS, UK

References (38)

Show source-provided references
1. Kafka: A distributed messaging system for log processing
2. (2020, September 24). Apache Flink: Stateful Computations over Data Streams. Available online: https://flink.apache.org/.
3. (2020, September 24). Apache Flume. Available online: https://flume.apache.org/.
4. (2020, September 26). Apache Airflow. Available online: https://airflow.apache.org/.
5. Naeem, M.A., Dobbie, G., and Webber, G. (2008, January 16). An event-based near real-time data integration architecture. Proceedings of the 2008 12th Enterprise Distributed Object Computing Conference Workshops, Munich, Germany.10.1109/EDOCW.2008.14 ↗
6. Taibi, D., El Ioini, N., Pahl, C., and Niederkofler, J.R.S. (2020, January 7–9). Patterns for Serverless Functions (Function-as-a-Service): A Multivocal Literature Review. Proceedings of the 10th International Conference on Cloud Computing and Services Science (CLOSER 2020), Prague, Czech Republic.10.5220/0009578501810192 ↗
7. Hong, S., Srivastava, A., Shambrook, W., and Dumitraș, T. (2018, January 9). Go serverless: Securing cloud via serverless design patterns. Proceedings of the 10th USENIX Workshop on Hot Topics in Cloud Computing (HotCloud 18), Boston, MA, USA.
8. Stafford, G. (2020, September 15). Event-Driven, Serverless Architectures with AWS Lambda, SQS, DynamoDB, and API Gateway | Programmatic Ponderings. Available online: https://programmaticponderings.com/2019/10/04/event-driven-serverless-architectures-with-aws-lambda-sqs-dynamodb-and-api-gateway/.
9. (2020, September 27). Enriching Event-Driven Architectures with AWS Event Fork Pipelines | AWS Compute Blog. Available online: https://aws.amazon.com/blogs/compute/enriching-event-driven-architectures-with-aws-event-fork-pipelines/.
10. Kulmi, M.K. (2020, September 23). Building Serverless ETL Pipelines on AWS. Available online: https://www.impetus.com/blog/cloud/building-serverless-etl-pipelines-aws.
11. Baldini, I., Castro, P., Chang, K., Cheng, P., Fink, S., Ishakian, V., Mitchell, N., Muthusamy, V., Rabbah, R., and Slominski, A. (2017). Serverless computing: Current trends and open problems. Research Advances in Cloud Computing, Springer.10.1007/978-981-10-5026-8_1 ↗
12. (2020, September 15). 2016 Future of Application Development and Delivery Survey. Available online: https://www.nginx.com/resources/library/app-dev-survey/.
13. Cloud computing for increased business value
14. Castro, P., Ishakian, V., Muthusamy, V., and Slominski, A. (2019). The server is dead, long live the server: Rise of Serverless Computing, Overview of Current State and Future Trends in Research and Industry. arXiv.10.1145/3368454 ↗
15. Hellerstein, J.M., Faleiro, J., Gonzalez, J.E., Schleier-Smith, J., Sreekanti, V., Tumanov, A., and Wu, C. (2018). Serverless computing: One step forward, two steps back. arXiv.
16. Hendrickson, S., Sturdevant, S., Harter, T., Venkataramani, V., Arpaci-Dusseau, A.C., and Arpaci-Dusseau, R.H. (2016, January 22–24). Serverless Computation with OpenLambda. Proceedings of the 8th USENIX Workshop on Hot Topics in Cloud Computing (HotCloud 16), Denver, CO, USA.
17. (2020, September 21). OpenFaaS: Serverless Functions Made Simple. Available online: https://www.openfaas.com/.
18. (2020, September 21). Knative. Available online: https://knative.dev/.
19. (2020, September 30). Kubeless. Available online: https://kubeless.io/.
20. Jonas, E., Pu, Q., Venkataraman, S., Stoica, I., and Recht, B. (2017, January 24–27). Occupy the cloud: Distributed computing for the 99%. Proceedings of the 2017 Symposium on Cloud Computing, Santa Clara, CA, USA.10.1145/3127479.3128601 ↗
21. Fouladi, S., Wahby, R.S., Shacklett, B., Balasubramaniam, K.V., Zeng, W., Bhalerao, R., Sivaraman, A., Porter, G., and Winstein, K. (2017, January 27–29). Encoding, fast and slow: Low-latency video processing using thousands of tiny threads. Proceedings of the 14th USENIX Symposium on Networked Systems Design and Implementation (NSDI 17), Boston, MA, USA.
22. Fouladi, S., Romero, F., Iter, D., Li, Q., Chatterjee, S., Kozyrakis, C., Zaharia, M., and Winstein, K. (2019, January 10–12). From laptop to lambda: Outsourcing everyday jobs to thousands of transient functional containers. Proceedings of the 2019 USENIX Annual Technical Conference (USENIXATC 19), Renton, WA, USA.
23. Kim, Y., and Lin, J. (2018, January 2–7). Serverless Data Analytics with Flint. Proceedings of the 2018 IEEE 11th International Conference on Cloud Computing (CLOUD), San Francisco, CA, USA.10.1109/CLOUD.2018.00063 ↗
24. Rahman, M.M., and Hasan, M.H. (2019, January 18–20). Serverless Architecture for Big Data Analytics. Proceedings of the 2019 Global Conference for Advancement in Technology (GCAT), Bangalore, India.10.1109/GCAT47503.2019.8978443 ↗
25. Serverless computing for cloud-based power grid emergency generation dispatch10.1016/j.ijepes.2020.106366 ↗
26. Pérez, A., Risco, S., Naranjo, D.M., Caballer, M., and Moltó, G. (2019, January 8–13). On-Premises Serverless Computing for Event-Driven Data Processing Applications. Proceedings of the 2019 IEEE 12th International Conference on Cloud Computing (CLOUD), Milan, Italy.10.1109/CLOUD.2019.00073 ↗
27. Kuhlenkamp, J., Werner, S., Borges, M.C., El Tal, K., and Tai, S. (2019, January 2–5). An Evaluation of FaaS Platforms as a Foundation for Serverless Big Data Processing. Proceedings of the 12th IEEE/ACM International Conference on Utility and Cloud Computing, UCC’19, Auckland, New Zealand.10.1145/3344341.3368796 ↗
28. Wang, L., Li, M., Zhang, Y., Ristenpart, T., and Swift, M. (2018, January 11–13). Peeking behind the curtains of serverless platforms. Proceedings of the 2018 USENIX Annual Technical Conference (USENIXATC 18), Boston, MA, USA.
29. Lee, H., Satyam, K., and Fox, G. (2018, January 2–7). Evaluation of production serverless computing environments. Proceedings of the 2018 IEEE 11th International Conference on Cloud Computing (CLOUD), San Francisco, CA, USA.10.1109/CLOUD.2018.00062 ↗
30. (2020, October 20). Global cloud Services Market Q2 2020. Available online: https://canalys.com/newsroom/worldwide-cloud-infrastructure-services-Q2-2020.
31. Bjornson, Z. (2020, October 10). AWS S3 vs Google Cloud vs Azure:Cloud Storage Performance. Available online: http://blog.zachbjornson.com/2015/12/29/cloud-storage-performance.html.
32. Function-as-a-Service performance evaluation: A multivocal literature review10.1016/j.jss.2020.110708 ↗
33. Barcelona-Pons, D., Sánchez-Artigas, M., París, G., Sutra, P., and García-López, P. (2019, January 9–13). On the faas track: Building stateful distributed applications with serverless architectures. Proceedings of the 20th International Middleware Conference, Davis, CA, USA.10.1145/3361525.3361535 ↗
34. Sreekanti, V., Lin, C.W.X.C., Faleiro, J.M., Gonzalez, J.E., Hellerstein, J.M., and Tumanov, A. (2020). Cloudburst: Stateful functions-as-a-service. arXiv.10.14778/3407790.3407836 ↗
35. Pandas Development Team (2020, September 30). Pandas-Dev/pandas: Pandas. Available online: https://zenodo.org/record/4311557#.X-LqptgzbIU.
36. Arias, M., Rojas, E., Aguirre, S., Cornejo, F., Munoz-Gama, J., Sepúlveda, M., and Capurro, D. (2020). Mapping the Patient’s Journey in Healthcare through Process Mining. Int. J. Environ. Res. Public Health, 17.10.3390/ijerph17186586 ↗
37. DEAL–‘Deep Ensemble ALgorithm’ Framework for Credit Card Fraud Detection in Real-Time Data Stream with Google TensorFlow10.1080/23080477.2020.1783491 ↗
38. Garcia Alvarez, M., Morales, J., and Kraak, M.J. (2019). Integration and Exploitation of Sensor Data in Smart Cities through Event-Driven Applications. Sensors, 19.10.3390/s19061372 ↗