FLY a Domain Specific Language for scientific computing on the Multi Cloud
Exploit the multi-cloud and HPC to achive better performance.
Table of contents
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.
- Download FLY from GitHub repository;
- Import as Maven project the folder FLY.compiler
- Right click on folder fly.parent -> Run as -> maven build… -> Goal: “clean verify”
- Right click on folder fly.parent -> Maven -> Update Project
- Right click on folder org.xtext.FLY -> Run as -> Eclipse Application
Install the Archetype
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
- In the new eclipse runtime select: New Project -> Maven Project -> select the archetype it.isislab
- Right click on the package src/main/fly -> New File -> “foo”.fly (can be any name) -> Click on Yes