Giter Club home page Giter Club logo

cc2019's Introduction

CC2019

Project for Cloud Computing course (A.Y. 2018/2019).

The aim of this project is to familiarize with cloud computing frameworks and SaaS/IaaS services from the major cloud providers, while studying core concepts of distributed applications.

In particular, the focus is on load balancing, elasticity, and resiliency for what concerns the infrastructure requirements; the application requirements consist of the ability to provide a benchmarking tool, and again its elasticity.

Implementation details

Google Cloud Platform (and in particular its Dataproc service) has been used as cloud provider, due to the ease of cluster and software setup, while the HDSF Word Count example from the Apache Spark repository has served as the distributed application taking advantage of the streaming capabilities of Apache Spark.

The Google Cloud Dataproc cluster has been tweaked with autoscaling policies in order to conform to the infrastructure requirements, while a simple word generator (and a benchmarking routine) have been developed in order to comply with the application requirements.

Full details available in the PDF report.

Directory structure

- config
    |__ autoscaling_policy.yaml     # GCP autoscaling policy
- data                              # target directory containing files to be processed
    |__ ...
- src                               # source file directory
    |__ benchmark.py                # simulates dynamic application load over time for testing purposes
    |__ file_generator.py           # creates a file then moves it into the target directory
    |__ hdfs_wordcount.py           # streaming Word Count example from Apache Spark
    |__ instance_logger.sh          # BASH script to monitor GCP VM instances over time
- tmp                               # temporary directory for file creation
    |__ ...
- README.md                         # this file
- anonymous_report.pdf              # PDF report

For more Apache Spark examples: Spark website | GitHub.

cc2019's People

Contributors

emanuelegiona avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.