Slashdot Mirror


Ants in your P2Pants

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

51 comments

  1. Overview by Voidhobo · · Score: 1, Redundant
    I know it's the "early morning" time frame, but who knows how long the server will take this load... (besides, I may get some cheap karma...)

    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.

  2. Re:Here's a P2P response... by Anonymous Coward · · Score: 0

    Ah, a fellow BITNAUT, eh?!

  3. Ant systems for dynamic problems by Titanhead · · Score: 5, Informative

    Nice to see a more practical application of ant systems. The past year I have been working with ant systems in a more academic setting: optimizing dynamic problems (problems that change over time) using ant systems. Travelling salesman to be more precise, but my salesmen (sales-ants?) encountered traffic jams.
    The research can be found here
    Next idea: ant based routing. Get rid off BGP, use ants :)

    1. Re:Ant systems for dynamic problems by halftrack · · Score: 0

      Should ants have trafficlights and highways?

      --
      Look a monkey!
  4. Bio-Mimetics by cosmosis · · 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 should do so. Our tecnhological future will become more and more alive as time progresses.

  5. Buzzword bingo... by Bowie+J.+Poag · · 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..

    --
    Bowie J. Poag

    1. Re:Buzzword bingo... by StikyPad · · Score: 1

      You forgot a DING! after the University of Bologna - perhaps the biggest name in higher education for processed meat.

      --

  6. Ants and British Telecom by elem · · Score: 4, Informative

    Draging a hazy memory out of my brain... I'm sure that I saw an article about 'ant-modeling' in New Scientist quite a lot of years ago (at least 2/3 years ago) where they were using ant's and their scent trails (modeled of course...) to find the optimum routes across a network.

    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]

    1. Re:Ants and British Telecom by Titanhead · · Score: 2, Interesting

      Congratulations, you just described the basic alghorithm of ant systems :)
      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.

    2. Re:Ants and British Telecom by Empty+Sands · · Score: 1

      This is one of the early papers in ant-based routing. Quite cool stuff, nice to see that its progressed further.

  7. You know by autopr0n · · Score: 4, Insightful

    Those words do have meaning. And while they can be used for empty hype, there existance alone is not an indicator of vapiedness.

    And besides how can you consider "implementation" and "complex" buzzwords but not 'dynamic', 'peer nodes' or 'downloading'?

    --
    autopr0n is like, down and stuff.
    1. Re:You know by Alsee · · Score: 2

      We read his post completely differently.

      The way I read it he was pointing out the article hit so many areas of interest to /. that Ladies and gentlemen, we haaaave a winner as an article here. I'm suprized "sorce code" didn't get a DING!

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  8. University of Bologna by dankjones · · Score: 2, Funny
    I would also like to acknowledge contributions made by the University of Frankfurt, the University of Hamburg and the University of Salisbury for their fine work.

    1. Re:University of Bologna by calabr1 · · Score: 1

      You might just know about the sausage; but you do not know that the first university in the world was founded in Bologna.

    2. Re:University of Bologna by Anonymous Coward · · Score: 0

      Mark this as humorous.... (It's a joke, get it?)

  9. See also Jtrix by Anonymous Coward · · Score: 1, Interesting

    ...which is on a similar theme, LGPL and possibly more complete.

    http://www.jtrix.org

  10. If you like this... by niksilver · · Score: 4, Interesting

    ...then you'll be interested in our open source project over at jtrix.org. We're building a platform for all kinds of adaptive and highly decentralised systems. You can buy in external services for your application, including hosting, so your apps can grow organically across the Net as needed.

    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

  11. SOURCE CODE WARNING! by Alsee · · Score: 5, Funny

    Anthill is full of bugs!

    -

    --
    - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  12. Right idea, short of content by Hobbex · · Score: 5, Interesting

    They have the right idea when it comes to studying large distributed networks. Network emergent properties is absolutely the most interesting thing in that field, and I strongly believe that it is a much better model for trying to handle highly dynamic networks than trying to route within a rigid structure as lot of object location networks have been designed to do.

    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.

    1. Re:Right idea, short of content by Anonymous Coward · · Score: 0

      you don't get it, the complexity of the thing is not in the fact that the interfaces are simple, it is the emergent behavior of distributed simple parts that does the job.

    2. Re:Right idea, short of content by Hobbex · · 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.

  13. A few other agent frameworks by Biff · · Score: 3, Insightful
    Distributed Agent systems aren't anything new, they have been a hot topic in the academic world for quite a while now.

    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/ for more info. I feel obliged to mention SoFAR an academic focusing on DIM (Distributed Information Managment) Agents (or at least they where last time I was there).

    --
    -- Paul
  14. To pun by sunya · · Score: 0, Offtopic

    In the words of Terry Pratchett : "Anthill Inside" :)

    --
    MLT - simple and robust open source multimedia framework for Linux
  15. sounds like JXTA by macpeep · · Score: 2

    This sounds a lot like JXTA.. For those who don't know about JXTA, it was originally a Sun Microsystems P2P framework project that has been released as open source (BSD license unless I'm mistaken badly). Judging by a quick scan, JXTA seems about 100x more advanced and mature as this project but I could be wrong. Can anyone who knows JXTA better confirm?

    1. Re:sounds like JXTA by makutaku · · Score: 1

      I know JXTA enough to confirm that you are comparing apples with "peers". :)

      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.

  16. Active networks for p2p apps? by shankark · · Score: 1

    While reading their homepage, it struck me that their methodology is somewhat similar to what active networks do. So, does anybody see how active networks can be used for deploying P2P apps?

  17. This is BS by mESSDan · · Score: 2

    What? This is coming from the University of Baloney? Geez, how silly of a place is this? Next thing you know, there's going to be a Hacker University or something.

    (This is a Joke ;)

    --

    -- Dan
  18. What he's talking about by Alsee · · Score: 3, Insightful

    Akk, that post did NOT explain what you're talking about. For the benefit of the confused I'm pretty sure he's trying to come up with a P2P network without using a central address to find the network. Looks like he wants to use a CODE-RED / NIMDA method and send "hello?" packets to random IP addresses at a rate of 1 per second looking for anyone else that happens to be running the P2P.

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

    -

    --
    - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    1. Re:What he's talking about by arcadum · · Score: 0

      Thank you.
      I needed some feedback. I believe yo are correct about the formula being wrong. My first calculations showed that a circuit will be formed after ~70 minutes. I decieded to try it calculating the probable sucsess of randomly finding another node by using the "birthday problem" http://mathworld.wolfram.com/BirthdayProblem.html formula. In any case, its about two hours before any connections are made. I know this would be ultra inefficient, I just wanted to know if it is possible.
      my post was just a screen dump from the a program that guesses, calculates, the time to make the first node.
      Anyway, I am not going to write this program in any form other then what I have, a simulation. My compter is slower than I need to effectively simulate 1000 nodes attempting to find other nodes like themselves in parallel. In a universe of 255^4.
      On a side note though, I have simulated this with 10 nodes and 1000 possible adresses. The results are bimodal. One node will find another in a little over 20 attempts or they will search for over a 1000.

  19. Diabetic? ;) by m0RpHeus · · Score: 0, Offtopic

    "Ants in your P2Pants"

    What the hell... I thought somebody has diabetes of something... Ants in your Pee to Pants.

    Oh wait...

    --
    Take-off every .sig! For Great Justice!
  20. I wonder... by TrixX · · Score: 2, Funny

    Will the ants be transporting electronical little pieces of leaves to their ant-nest? Perhaps they could carry any kind of food too, or files, or MP3s...

    All in the name of research, of course.

  21. Robot Wars by Lucky+Kevin · · Score: 1

    This would be ideal for robot soccer competitions. "GO THE ANTS!"

    --
    Kevin
    "It's not the cough that carries you off, it's the coffin they carry you off in" O. Nash
  22. Re:bologna sausages; give it to the cat. by Anonymous Coward · · Score: 0

    What you call bologna is called mortadella, with the difference that the latter contains chunks of fat and flavors. In comparison, bologna tastes as raw meat.

  23. Terry Pratchett? by javajerk · · Score: 1

    Hi,

    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

  24. Network-related articles... by antdude · · Score: 2
    --
    Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
  25. Autonomic - (Re:Terry Pratchett?) by pvcpie · · Score: 1

    apparently this counts as Autonomic Computing. IBM has it posted here:
    http://www.research.ibm.com/autonomic/academic/res earch.html

    They also have eBiquity listed.
    More autonomic on this old Slashdot thread:
    http://slashdot.org/article.pl?sid=01/10/16/131422 6

    pvcpie
    (who thinks grid computing is a grail)