Ants in your P2Pants 51
Tim Finin writes: "Anthill is a framework being developed at University of Bologna to
support the design, implementation and evaluation of P2P applications,
viewing them as instances of Complex Adaptive Systems, typically found
in biological and social sciences. In Anthill, desired properties such
as resilience, adaptation and self-organization correspond to the
"emergent behavior" of the underlying CA system. An Anthill system
consists of a dynamic network of peer nodes; societies of adaptive
agents (ants) travel through this network, interacting with nodes and
cooperating with other agents in order to solve complex problems. The source code for Anthill v1.0 is available for downloading. MORE on this is at ebiquity.org."
Overview (Score:1, Redundant)
Project Overview
Anthill is a framework aimed at supporting the design, development and analysis of peer-to-peer protocols and algorithms. The goals of Anthill are to: (i) provide an environment for simplifying the design and deployment of new P2P systems, and (ii) provide a "testbed'' for studying and experimenting with P2P systems in order to understand their properties and evaluate their performance. Anthill is based on the multi-agent systems (MAS) paradigm. A MAS is a collection of autonomous agents that can observe their environment and perform simple local computations leading to actions based on these observations. The behavior of an agent may be non-deterministic and its actions may modify the agent environment as well as the agent location within the environment. What distinguishes MAS from other agent models is that there is no central coordination of activity. MAS often exhibit a property called swarm intelligence whereby a collection of simple agents of very limited individual capabilities achieves ``intelligent'' collective behavior. In this manner, they are able to solve problems that are beyond the capabilities or knowledge of individual agents. For example, ant colonies, which are natural instances of MAS, are known to be capable of solving complex optimization problems including those arising in communication networks. In our opinion, MAS can be profitably adopted for the design of innovative peer-to-peer algorithms.
Anthill uses terminology derived from the ant colony metaphor. A P2P system based on Anthill is composed of a network of interconnected nests. Each nest is a peer entity capable of performing computations and hosting resources. Nests handle requests coming from users by generating one or more ants --- autonomous agents that travel across the nest network trying to satisfy the request. Ants interact indirectly with each other by modifying their environment by updating the information stored in the visited nests. This form of indirect communication, used also by real ants, is known as stigmergy.
Developers wishing to experiment with new P2P protocols need to focus only on writing appropriate ant algorithms using the Anthill API and defining the structure of the P2P system. The current version of Anthill includes a simulation environment to help developers analyze and evaluate the behavior of P2P systems. Ant algorithms are executed in simulated nest networks and various properties such as performance, fault-tolerance and availability are measured. Simulation parameters, such as the characteristics of the network, the type of ant algorithms deployed, the kind of workload presented to the system, and the properties to be measured, are easily defined using XML.
If you like this... (Score:4, Interesting)
Unlike Anthill we're addressing a wider variety of needs (in fact, any kind of app you want to scale up), so you can build all kinds of things on top of Jtrix, from traditional P2P (Freenet, Gnutella, etc) to other apps needing scaling and security (Web-based mail, Passport-a-like, and so on).
We've been at it 18 months now and have things like an HTTP server and servlet engine which work in this environment. It's great to see these kind of frameworks growing in popularity.
Nik
What he's talking about (Score:3, Insightful)
Randomly spamming the internet with packets is a very questionable plan. You WILL get complaints. That aside, if you *do* go forward with the random address search I'd suggest you start and several addresses per second with an exponentially decaying search speed (Multiply the delay by 1.01 for each address you test). It's a much more efficient systems. Early random tests are more valuable than later ones. If there's a significant network you'll find it faster, and if there isn't then the amount of spamming is self limiting.
In addition, his math is all wrong. First - "0.000118... probability of colliding per attempt" would requre a half million friendly P2P servers. Second he's assuming 255^4 IP addresses. He should be assuming 254^4 - and then checking approriate RFC for rurther reductions. Third - the formula for % per minute is wrong - maybe he calculated it right and wriote it wrong, because the number he got looks about right (but "right" is still "wrong" because is assumes a wrong % per test).
And a final observation - the time to "first circut" would also happen to be the time to spam every existing IP address at least once (and more likely several times).
-
Ant systems for dynamic problems (Score:5, Informative)
The research can be found here [utwente.nl]
Next idea: ant based routing. Get rid off BGP, use ants
Bio-Mimetics (Score:4, Informative)
Sooner or later more of our Technological systems will emulate nature. For those who haven't read Kevin Kelly's masterpeice - Out of Control [amazon.com] should do so. Our tecnhological future will become more and more alive as time progresses.
Buzzword bingo... (Score:4, Funny)
"Anthill is a frameworkDING! being developed at University of Bologna to support the designDING! , implementationDING! and evaluationDING! of P2PDING! applications, viewing them as instances of Complex Adaptive SystemsDING! , typically found in biologicalDING! and social sciencesDING! . In Anthill, desired properties such as resilienceDING! , adaptationDING! and self-organizationDING! correspond to the "emergent behavior"DING! of the underlying CA systemDING! . An Anthill system consists of a dynamic networkDING! of peer nodes; societies of adaptive agentsDING! (ants) travel through this network, interacting DING! with nodes and cooperating with other agents in order to solve complexDING! problems. The source code for Anthill v1.0 is available for downloading. MORE on this is at ebiquity.org."
Ladies and gentlemen, we haaaave a winner..
You know (Score:4, Insightful)
And besides how can you consider "implementation" and "complex" buzzwords but not 'dynamic', 'peer nodes' or 'downloading'?
Re:You know (Score:2)
The way I read it he was pointing out the article hit so many areas of interest to
-
Re:Buzzword bingo... (Score:1)
--
Ants and British Telecom (Score:4, Informative)
I think it worked as followed:
Put a bunch of ants on the start node, all they know how to do is travel from node to node and they know when they reach the end node.
Each ant will go down a path to a connected node, except that they will not backtrack to their previous node. Each of these ants is releasing an electronic scent and they are more likly to go down the path with the strongest scent.
Repeat with several thousand ants and you should have your optimum path across the network.
I seem to recall that the article said that BT (British Telecom) was looking into this as a way to optimise the routes that a phone call takes from switching station to switching station... but it was a very long time since I read it.
[No ants were harming in the writing of this post]
Re:Ants and British Telecom (Score:2, Interesting)
There is also a negative feedback involved: the scent (pheromones) evaporate over time to avoid getting stuck in a local optimum too soon.
A lot of literature is available on ant colony optimization and ant systems. A starting point might be the homepage of Marco Dorigo. [ulb.ac.be]
Re:Ants and British Telecom (Score:1)
University of Bologna (Score:2, Funny)
Re:University of Bologna (Score:1)
See also Jtrix (Score:1, Interesting)
http://www.jtrix.org
SOURCE CODE WARNING! (Score:5, Funny)
-
Right idea, short of content (Score:5, Interesting)
That said, peer to peer network simulators and frameworks are a dime a dozen - anybody who was at the last O'Reilly "P2P" conference would have noticed that everybody, their mother, and their great-aunt Petrunella seems to have one. Setting up a bunch of java interfaces is not that hard, and calling a Node a "Nest" and giving it the following methods:
public interface Nest {
void request(Request request,
ReplyListener listener);
void addService(AntFactory factory);
void addNeighbor(NestId nid);
void removeNeighbor(NestId nid);
NestId[] getNeighbors();
}
is not exactly a radical new design.
What is really needed are more examples of analytical work regarding the emergence of and utility of routing properties in the known algorithms, as well as other radically new routing schemes besides Freenet. I'm glad that these people have their framework in place, but it really isn't news until they have something to show for it.
Re:Right idea, short of content (Score:2)
I do get it, but if you go look at exactly what they have, and read the papers they have published, you will find that the simple interfaces are the only thing they have. There are no new algorithms for achieving emergent behavior presented - the only implementation they seem to have made is a simulation of a Freenet based system. It is the correct approach, but not really newsworthy until they have something to show for it.
To my knowledge, there is one software project currently in actual use that takes advantage of emergent behavior, and I wrote a large part of it. I'm quite sure that I do get it.
A few other agent frameworks (Score:3, Insightful)
The BT Zeus project is an open source agent framework that includes lots of nice stuff (visual development / visualisation / intellegent agents etc.) See www.btexact.com/projects/agents/zeus/ [btexact.com] for more info. I feel obliged to mention SoFAR [soton.ac.uk] an academic focusing on DIM (Distributed Information Managment) Agents (or at least they where last time I was there).
sounds like JXTA (Score:2)
Re:sounds like JXTA (Score:1)
Although JXTA has a reference implementation, it does not intend to establish one. It basically defines a standard platform that several p2p implementation would follow when designed, so they would be able to interact with each other more or less.
As Anthill papers say, Anthill could also follow JXTA standards.
Active networks for p2p apps? (Score:1)
This is BS (Score:2)
(This is a Joke
I wonder... (Score:2, Funny)
All in the name of research, of course.
Robot Wars (Score:1)
Terry Pratchett? (Score:1)
sounds like these mad wizards from Pratchetts Disk-World series who are running a computer utilizing ants for bits (make that "electric signals") and punchcards for flow-control.
Does this count as bioinformatics? Is this already nonlinear computing?
Cheers, Lars
Autonomic - (Re:Terry Pratchett?) (Score:1)
http://www.research.ibm.com/autonomic/academic/re
They also have eBiquity listed.
More autonomic on this old Slashdot thread:
http://slashdot.org/article.pl?sid=01/10/16/13142
pvcpie
(who thinks grid computing is a grail)
Network-related articles... (Score:2)
http://news.bbc.co.uk/hi/english/sci/tech/newsid_
http://www.nyt.com/2001/09/13/technology/circuits