Skip to content

Latest commit

 

History

History
97 lines (70 loc) · 3.62 KB

index.md

File metadata and controls

97 lines (70 loc) · 3.62 KB
layout title nav_order description
default
Introduction
1
What is fly?

FLY a Domain Specific Language for scientific computing on the Multi Cloud

{:.no_toc}

Exploit the multi-cloud and HPC to achive better performance. {: .fs-6 .fw-300 }


Table of contents

{: .no_toc .text-delta }

  1. TOC {:toc}

What is FLY?

FLY is a parallel work-flow scripting imperative language inspired by functional languages peculiarities. FLY uses two type of run-time environment: the local machine and/or cloud infrastructure. FLY perceives a cloud computing infrastructure as a parallel computing architecture on which it is possible to execute some parts of its execution flow in parallel.

FLY main goals are:

  • expressiveness, in deploying scientific large-scale computing work-flows;
  • programming usability, writing .fly program should be straightforward for domain experts, while the interaction with the cloud environment should be completely transparent; the users do not need to know the cloud providers APIs;
  • scalability either on symmetric multiprocessing (SMP) architectures or cloud computing infrastructures supporting FaaS.

FLY is compiled in native code (Java code) and it is able to automatically exploits the computing resources available that better fit its computation requirements. The innovative aspect of FLY is constituted by the concept of FLY function. A FLY function can be seen as an independent block of code, that can be executed concurrently.

Faas Cloud Computing Infrastructure Supported Under development Future development
Amazon AWS ✔️
Microsoft Azure ✔️
LocalStack ✔️
Google Function ✔️
IBM Bluemix/Apache OpenWhisk ✔️

Supported Languages

Faas Cloud Computing Infrastructure Python Javascript
Amazon AWS ✔️ ✔️
Microsoft Azure ✔️ ✔️
LocalStack ✔️ ✔️

Getting Started

Follow all these steps to correctly create a FLY Project.

Requirements

  • Eclipse with Xtext/Xtend support
  • Ubuntu or OSX OS
  • Java 8 (or greater)
  • Apache Maven 3 (or greater)
  • Amazon AWS CLI and SDK
  • Python 3
  • Node.js 8.10

First Installation

Follow this steps only the first time you install FLY.

  1. Download FLY from GitHub repository;
  2. Import as Maven project the folder FLY.compiler
  3. Right click on folder fly.parent -> Run as -> maven build... -> Goal: "clean verify"
  4. Right click on folder fly.parent -> Maven -> Update Project
  5. Right click on folder org.xtext.FLY -> Run as -> Eclipse Application

Install the Archetype

{:.no_toc}

Unpack the fly-project-quickstart.zip:

unzip fly-project-quickstart.zip

Go to to the top of folder fly-project-quickstart and install the maven archetype:

cd fly-project-quickstart/
mvn install
mvn archetype:crawl

New FLY Project

  1. In the new eclipse runtime select: New Project -> Maven Project -> select the archetype it.isislab
  2. Right click on the package src/main/fly -> New File -> "foo".fly (can be any name) -> Click on Yes