Coder Social home page Coder Social logo

vicaba / wings Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.99 MB

Distributed Web of Things application to bridge between IoT protocols.

Home Page: https://www.mdpi.com/1424-8220/18/2/400

Scala 85.83% Shell 1.44% HTML 6.53% JavaScript 6.20%
akka akka-cluster mongodb mqtt scala websocket

wings's Introduction

Wings

Distributed application bridging Internet of Things and Web of Things featuring the actor model with Akka.

Related scientific manuscripts:

This project is organized in a monorepo/multi-project style and aggregates several sub-projects. The main sub-projects are:

  • wings-core
  • wings-http
  • wings-mqtt
  • wings-clusterseed
  • wings-test

wings-core, wings-http and wings-mqtt are the main projects. wings-core contains the business logic for both wings-http and wings-mqtt, acting as the domain and application layer (mainly), and defines actors with such logic. It also defines actors that are aware of the PubSub cluster and communication model. Actors are used as layers to provide fault-tolerance and actor restart in case of failure. wings-http and wing-mqtt are the adapter/infrastructure layer, implementing the interface between specific IoT protocols.

wings-core

This project contains the core logic, mainly business logic. It defines several interfaces and core actors and passes messages between adapter actors (http, websocket, mqtt) and the PubSubCluster (wings-clusterseed).

wings-http

This project contains adapters for WebSocket and HTTP via the PlayFramework 2. PlayFramework 2 handles initial WebSocket connections and transforms them into actors by creating an actor per connection (IoT device or client). It also contains the HTTP client to upgrade HTTP connections to WebSocket connections and to display, via HTML, CSS and Javascript, a dashboard and a map.

wings-mqtt

This project contains adapters for MQTT via Eclipse Paho.

wings-clusterseed

Contains the seeds and initialization code to create a distributed PubSub cluster with Akka cluster.

wings-test

Contains e2e tests.

Packaging

All projects share the same packaging plugin, that is sbt-native-packager

In order to package a project, enter the sbt console of the project and then issue universal:packageBin

wings's People

Contributors

vicaba avatar

Watchers

 avatar  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.