Swarm (framework)

From P2P Foundation
Jump to navigation Jump to search

From Slashdot:

"Ian Clarke, creator of Freenet, has been working on a new open source project called Swarm. The concept is to allow a computer program to be distributed across multiple computers in a manner almost completely transparent to the programmer. The system observes the program executing and figures out how the workload should be distributed for maximum efficiency. Swarm is implemented in Scala. Its at an early-prototype stage, and Ian has created a good 36 minute video explaining the concept and the current implementation."


Swarm is a framework allowing the creation of web applications which can scale transparently through a novel portable continuation-based approach. Swarm embodies the maxim "move the computation, not the data".


Swarm is implemented in Scala 2.8 (unreleased at the time of writing), and makes use of the delimited continuations plugin.

Swarm is currently at an early stage of development, although it is able to migrate a thread between servers as needed. Currently the best way to learn about Swarm is to watch the video above and then read about our current efforts on the OpenIssues page.


Swarm was initially by Ian Clarke in this blog post, although the concept has evolved considerably since then.

Key resources

See Also