GithubHelp home page GithubHelp logo

swarm's Introduction

Swarm

What is it?

Swarm is a framework allowing the creation of applications which can scale transparently through a novel portable continuation-based approach. Like Map-Reduce, Swarm follows the maxim "move the computation, not the data". However Swarm takes the concept much further, allowing it to be applied to almost any computation, not just those that can be broken down into map and reduce operations.

In effect, Swarm will be the ultimate "Platform as a Service", going much further than systems like Google App Engine in relieving the programmer from the difficulties of cloud computing.

You may find the Swarm source code here, however for the project's homepage and lots more information, please visit GoogleCode.

Quick Start Guide

Note: Swarm is still very-much a work in progress. These instructions will let you play with some proof-of-concept demos, but Swarm remains a long way from being of practical use.

These instructions assume you are using a Linux or Mac-like system. If you are using Windows, we recommending using Cygwin which should allow you to follow these instructions more-or-less verbatim.

Install Scala 2.9.1

http://www.scala-lang.org/downloads

Download Swarm

git clone [email protected]:sanity/Swarm.git

Run the demo

From the Swarm directory, in one console window:

$ sbt/sbt "demos/run-main swarm.demos.Listen"

Then, in another console window:

$ sbt/sbt "demos/run-main swarm.demos.ExplicitMoveTo1"

In this demo keep an eye on both consoles, you will be asked for input in one console, then the other.

Run the Twitter simulator

From the command line, launch the Twitter demo:

$ sbt/sbt "demos/run-main swarm.demos.SwarmTwitter"

In a Web browser, navigate to http://localhost:8080/ and http://localhost:8081/ to interact with each node.

swarm's People

Contributors

earldouglas avatar sanity avatar pdoubleya avatar

Stargazers

Huascar Sanchez avatar

Watchers

Huascar Sanchez avatar James Cloos 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.