Awesome
Achlys
The Achlys framework is a tool designed to help application developers build Erlang/OTP programs using the Lasp libraries and running on GRiSP embedded systems in a wireless sensor network configuration. A more detailed description is available in this document.
Demonstration (turn on CC !)
Achlys is being developed in the context of edge computing research within the H2020 LightKone project. The 2 main objectives of the framework are to provide :
- Resilient storage across a cluster of IoT sensing devices
- A general purpose task model allowing any function to be propagated and executed in the cluster
Disclaimer : Achlys is currently under active development, hence a production-ready release is not yet available.
Achlys is the goddess of deadly poison ... but fortunately there is an AntidoteDB
Minimum requirements
- otp
22.0
- rebar3
3.13.1
- grisp
1.2.0
- rebar3_grisp
1.3.0
Development requirements (optional)
- grisp-software : a fully built grisp toolchain.
- grisp_tools
0.2.6
or above - partisan
4.1.0
or above - lasp
0.10.0
or above
Deployment guide
Additional information on the deployment of GRiSP applications with Achlys can be found below :
Extending Achlys
Achlys is a framework for generic computations by definition, therefore it can be extented and fine-tuned to turn it into a software that supports any possible application :
Wiki
A Wiki is currently being written and will aim at providing a wide range of examples and tutorials in order to demonstrate the capabilities of Lasp on GRiSP at the Edge.
The GRiSP Wiki also provides necessary steps in order to setup the required dependencies in order to run Achlys on the GRiSP boards. There are also useful resources that are interesting for general usage of GRiSP boards.
Elixir is also supported on GRiSP, and there two very interesting articles by @Theuns-Botha that provide detailed information on how to setup an Elixir development environment :
EDoc preview
The development process has not yet reached a level of maturity allowing for an actual release of the program. Therefore, the documentation is currently more of an insight at the software design and more generally at the features that will be provided.
Once a satisfactory amount of testing and features will be implemented, a versioned package will be released and the documentation will be a reliable set of specifications.
The online version of the documentation is found at :
Architecture
The design pattern will follow the "facade" concept as much as possible, hence there will be an API that will provide an easy access to all the modules and functions. The documentation will be reorganized to focus on thoroughly explaining the usage, and will regroup the information of submodules like these :
<p align="center"> <img src="resources/Doc_preview.png" alt="EDoc"/> </p>Mind map
A Mindly reasoning construct. Allows for easier visualization of problems and tasks, hence more efficient solving.
- The API branch of the map provides a description of some features and simple usage examples.
- For Achlys, it is currently an additional asset to structure software improvement ideas.