Coder Social home page Coder Social logo

mamoc-ios's Introduction

MAMoC (Multisite Adaptive Mobile Cloud)

A Swift framework for running compute-intensive tasks on nearby devices, cloudlets, and remote clouds. This framework uses MultiPeer Connectivity(MPC) to discover other devices over standard LAN and ad-hoc peer-to-peer WiFi or Bluetooth networks to offload computation. It also allows devices to connect to nearby fixed servers (cloudlets) or remote cloud servers and communicate over a socket.

Text Search Example

// start the framework
let mc = MobileCloud.MCInstance
mc.start()
// set the job
mc.setJob(job: TSJob())
// set the parameters
(mc.getJob() as! TSJob).searchTerm = textSearchField.text!
// execute the job on nearby, cloudlet, remote cloud, or auto (let MAMoC decide)
mc.execute(type: OffloadingType.auto)

There are two working examples provided as app targets when you open the XCode project.

For setting up the MAMoC server component on both cloudlet and remote cloud servers, check the server component of MAMoC repository.

Open source third party libraries

  • PeerKit (An open-source Swift framework for building event-driven, zero-config Multipeer Connectivity apps)
  • Starscream (Websockets in swift for iOS and OSX)
  • SwiftEventBus (A publish/subscribe EventBus optimized for iOS)
  • Luminous (iOS system information )
  • iOS-System-Services (iOS System Services is a class to gather all available information about a device.)

mamoc-ios's People

Contributors

dawand avatar

Stargazers

 avatar  avatar  avatar

Watchers

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