Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Programming Patents The Internet IT Technology

Making Freenet Find Stuff Faster 283

Sanity writes "Many probably saw the recent announcement of Freenet 0.5.2. This release represented a vast amount of work - primarily in reducing Freenet's CPU and memory requirements. However, streamlining Freenet's current functionality isn't all we've been working on. I just finished an article that describes the most fundamental improvement to Freenet's core algorithm since its original design over three years ago, it is called "Next Generation Routing" and has the potential to dramatically increase the speed with which Freenet retrieves information. It could even make Freenet faster than the World Wide Web in many circumstances, all without compromizing anonymity and while remaining immune to the /. effect."
This discussion has been archived. No new comments can be posted.

Making Freenet Find Stuff Faster

Comments Filter:
  • ad for freenet? (Score:1, Interesting)

    by Comsn ( 686413 ) on Sunday July 20, 2003 @06:38PM (#6486944)
    is this just an advertisement for freenet? i thought slashdot didnt do feature requests...

    At the time of writing, implementation of N.G Routing is well-underway, although nodes using it have yet to be widely deployed in the wild.


    freenet still isint there yet, but feel free to tell us when.
  • Good. (Score:5, Interesting)

    by Squidgee ( 565373 ) on Sunday July 20, 2003 @06:39PM (#6486949)
    I'm glad to see Freenet progressing so well; especially it being resiliant to the /. effect (read: DOS attacks), and it being faster (!) han the WWW.

    Freenet is an awesome idea, and very rapidly becoming one that is neccesary to ensure your protection. Although it is a double edged sword (It can help both good, and bad people), I think it's one that is neccesary. And, if it becomes speedier than the web at large, it'd be just freaking awesome. Now, no one needs to fear censorship, nor do they need to fear the government shoving them into a database.

    Now if only I could get it running on my Mac OS X box...

  • Re:Good. (Score:5, Interesting)

    by Ralanti1 ( 649287 ) on Sunday July 20, 2003 @06:47PM (#6486995) Homepage
    Isn't the www good for both good and bad people though too? any technology that comes out will have a way to exploit it. The fact that it's faster then the WWW is an achievement in itself but would the RIAA/etc try and go after it claiming it's anonmity is the problem? I'm really curious to see how this plays out.
  • by Schlemphfer ( 556732 ) on Sunday July 20, 2003 @06:49PM (#6487012) Homepage
    In a widely publicized interview from earlier this month, RIAA Senior Vice President Matt Oppenheim said:

    Other than the fact that most infringers do not like to use Freenet because it is too clunky for them to get their quick hit of free music, it is no more of a threat than any of the popular P2P services.

    Translation: "Oh Lord, I hope Freenet is inherently unable to have robust search functions, because if it ever develops these, we're hosed. But in the meantime, we can dismiss this software as being a big POS."

    Now, less than two weeks after the interview, it seems the one aspect of Freenet that Oppenheim wanted to write off at is on the brink of being fixed.

  • by andyo ( 109338 ) on Sunday July 20, 2003 @06:54PM (#6487037) Homepage Journal
    What I find interesting about this algorithm is that it is applied individually by each node; there seems to be no need for nodes to share data over some complicated protocol as in many distributed systems. Yet (I think we can believe Clarke) this change improves response time through the system as a whole. It's a validation of the basic Freenet model of systems acting alone but providing a service greater than the sum of its parts.
  • peekabooty anyone? (Score:4, Interesting)

    by Snooweatinganima ( 168199 ) on Sunday July 20, 2003 @06:55PM (#6487040) Homepage
    has anyone ever tried peekabooty [peek-a-booty.org], esp. under wine? The reflections on open source development [peek-a-booty.org] the developer(s) feature on their website sound kinda depressed..but then again, the honesty factor speaks for them. Are there any deep flaws in the idea? I personally like the simplicity of their design, but since I'm not a design guru, I may be utterly wrong.
  • Hmm.. (Score:4, Interesting)

    by Idealius ( 688975 ) on Sunday July 20, 2003 @07:05PM (#6487088) Journal
    Makes you wonder if Freenet gained popularity over the web whether all "official" transactions would be web-based, leaving Freenet to misc. web sites that are completely information/communication based. The reason I wonder is because if someone gets their login/password stolen from some random service on Freenet which they invested mucho time in, how will anyone else know the difference? That would really irk me.. (Yes, I know the web is vulnerable to this as well, but at least it requires a user have an IP address -- whether or not it's actually legit.)
  • by iamsure ( 66666 ) on Sunday July 20, 2003 @07:11PM (#6487127) Homepage
    I just installed .52 and boy, is it unusably slow.

    Two minutes to load the WARNING page in front of the main 'search engine' of sorts that it has.

    Its worse than being on dialup. I'm all for the anonymity, but I'm on broadband, and it CRAWLS.
  • Make Freenet Free! (Score:3, Interesting)

    by Carl ( 12719 ) on Sunday July 20, 2003 @07:15PM (#6487143) Homepage
    Seriously. It is a bit ironic that the Freenet project doesn't run on a free system like Debian GNU/Linux. So there is an effort underway to Free Freenet! See the developer mailinglist archive [freenetproject.org]. Please donate (Matthew Toseland - Toad - is the "Official Codemonkey" of the Freenet Project).
  • Publicibooty (Score:3, Interesting)

    by Anonymous Coward on Sunday July 20, 2003 @07:16PM (#6487151)
    The CdC people (and the organizations that spun out of them like Peekabooty) have always been much better at self-publicity than solving real problems.

    They thought it would be cool to design a censorproof network. They weren't interested in supporting what was already in development, namely Freenet, after all - where is the publicity in being part of someone else's project?

    The only problem was that they dramatically underestimated the difficulty of pulling it off - the result? Peekabooty was, is, and probably always will be, vaporware. The design they do have is a primitive HTTP proxy network last time I looked, and it doesn't solve any of the difficult problems of circumventing censorship (just ask them how the poor little Chinese dissidents are supposed to find their HTTP proxies).

    Amuzing, after draining the concept of a censor-proof network for all it was worth (without actually building one) - they then did their best [peek-a-booty.org] to drain publicity from their failure to build it!

    Freenet answers those questions, and has done so since its original design in 1999.

  • by BassZlat ( 17788 ) on Sunday July 20, 2003 @07:17PM (#6487155) Journal
    the nice thing about the current ng routing scheme is that there's plenty of room for research on how to tune it even further.

    Note: if you haven't read the article, this won't make much sense to you.

    For one, the number of reference points doesn't have to be fixed; if/when memory and cpu power allows us, we could have variable number of reference points per node. This opens the door to other decisions, such as whether we encourage clustering reference points. If yes, we add new ref points closer to others. If not, we remove a ref point the density within some keyspace interval gets too big. Another option is to add a new ref point whenever the n previous estimates turn out to be more than x% correct, and remove one if otherwise.

    Another direction to go into is curve fitting. If cpu power allows us, we could use various techniques of polynomial or Fourrier interpolation within the existing reference points to draw more accurate curve of time vs. keyspace. /me wanders if embedding fortran in java makes sense ;))
  • by RPoet ( 20693 ) on Sunday July 20, 2003 @07:48PM (#6487281) Journal
    Freenet is NOT immune to the /. effect currently. Every time /. runs a Freenet related story, loads of new users seem to get on the Freenet and it just collapses, meaning response times go way up and many freesites become unreachable. I'm sure NGRouting will take care of this, but it's not honest to say it will help Freenet "remain immune" to the /. effect, because it's not immune.
  • by owlstead ( 636356 ) on Sunday July 20, 2003 @08:05PM (#6487362)
    No, you are referring to the startup time of the VM. Once started, the memory pages will have settled and the response gets better and better. The same thing happens when you use the menu's the first time. Once the classes have loaded, the program has fine responsiveness. Actually, you can preload classes with Java, but not too many developers use that particular feature (it will add to the startup time anyway).

    IMHO, the Java VM should be loaded at startup, and a single VM should be used to launch multiple applications. When used like that (together with an efficent GUI startup process) much of the gripe against Java applications should be gone. Obviously the firewalling between programs should be maintained. Alas, this is not currently so.

    To come back to freenet: it doesn't incorporate a GUI in normal use (using the web interface is not the same as launching a Swing application) and for networking speed: the speed of the connection will be the bottle neck, not the Java application.

    It must be said that the current implementation will scare away programmers that are looking towards efficency. For most programs you should n't though. Look at the architecture before trying to get something more efficient by changing languages.

    ps. for an ample showcase of efficiency, try Eclipse from IBM. Check the features first before posting though.

  • Of course, it might.

    More likely, Congress will order the FBI to use Carnivore (or whatever it is called now) to track people downloading a particular file on Freenet, and to try and find out who they are. I don't remember how Freenet works, or how Carnivore works, but I'm sure with total control of the router infrastructure you could figure out who was downloading what, eventually..... although, every control message for freenet is encrypted, huh? Well, anyway they'd try.

    Then, the RIAA will demand that congress give them the power to open up carnivore boxes and track down "pirates" without judicial oversight.

    Our legislators have such a poor idea of how freenet works (worse even than mine,) that I don't think they *can* write a law against it. A law against software that enables two remote computers to connect to each other without both of them knowing who the other is?
  • by RPoet ( 20693 ) on Sunday July 20, 2003 @08:29PM (#6487484) Journal
    As I understand it, there are several reasons for making nodes default to being permanent. For once, transient nodes don't help the network at all; they just leech. But more importantly, if you're transient, you lose an important attribute of Freenet: your plausible deniability. Everything in your data store has provably landed there on your request, and not (as for permanent nodes) perhaps because they were only routed through you.

    So let's just wait and see if all these new non-permanent permanent nodes will hurt the network or help it. :-)
  • Re:ad for freenet? (Score:2, Interesting)

    by Anonymous Coward on Sunday July 20, 2003 @08:58PM (#6487612)
    Take a chance. You might be pleasantly surprised.

    I'd love to. You show me where I can download the features that they're announcing, and I'll try it. That's the point: This stuff doesn't exist in Freenet yet; they're talking about their wishlist. This is news?
  • Re:Good. (Score:3, Interesting)

    by Meat Blaster ( 578650 ) on Sunday July 20, 2003 @09:20PM (#6487686)
    I suggest it's time for some folks to pull their heads out of their asses around here. If you don't think Freenet's tripping flags or raising concerns, call me when you decide to visit reality again.

    Simple analytical reasoning will tell you that Freenet is not a good choice if you're looking for a relaxed low-profile cruise through an anarchical network. Either it works as advertised, raising the hackles of those who believe that networked anonymity offers an unreasonable risk (from RIAA to government, this network is almost certainly on the radar), or it doesn't work as well as you think it might, leaving you in the lurch if you're whistleblowing or 'file sharing' or far worse. This guy is raising a good point, and one that came to mind as I was browsing Freenet one night and decided to disconnect rather than potentially get involved in something out of proportion to my desire to see how people use their freedom of speech in such a medium.

    Sorry if this tips your sacred cow, reader, but in a world where something like Freenet would be necessary users would be shot in the head no matter how cleverly the data stores themselves resist tampering.

  • by edheil ( 38857 ) on Sunday July 20, 2003 @09:42PM (#6487807)
    The trick is that by requesting the key, the person is actually propagating the material.

    If you request a key and my node hands you that file, there is no way for you to tell whether I had that file on my machine already and just sent it to you in response to your request, or whether my node went out and got that file from ANOTHER NODE in response to your request, and then passed it on to you, caching it on my node in case of further requests.

    In other words, by trying to 'police' freenet in this fashion, you are thwarting your own goals, and making sure that your file is widely propagated across a large number of nodes, only a small fraction of whose IP addresses will be known to you (you only know the IP address of the last node that delivered the file to you) -- and those IP addresses are likely to be those of people who did not even have the file before you requested it!
  • by QuMa ( 19440 ) on Sunday July 20, 2003 @10:03PM (#6487916)
    Possibly, yes. But any country in which the courts rule forwarding requests to illegal content to be illegal will also have made public HTTP proxies (like anonymizer.com [anonymizer.com]) illegal. At that point a different system will be necessary, something where it would be impossible to distinguish publisher/retriever from 'innocent' bystander. There are possibilities for such systems, but they're going to be even less efficient/fast/simple, so let's hope they aren't necessary.
  • by QuMa ( 19440 ) on Sunday July 20, 2003 @10:09PM (#6487941)
    The text in the FAQ is mine, I don't think Ian is claiming freenet will get better throughput/latency for browsing random websites, however freenet can be faster for downloads from websites, websites with flash animations or big applets, those kinds of things. (At current the anonymity filter (a piece of code that filters potentially anonymity-compromising parts from freenet websites) will remove all plugins and applets, but we're talking middle to long-term future here).

    Basicly, freenet latency is bad, freenet throughput is good. (and freenet reliability is different :-))
  • Mod parent up (Score:1, Interesting)

    by Anonymous Coward on Monday July 21, 2003 @12:58AM (#6488621)
    Guys, he's not a troll.

    Freenet may be the best that we have so far, and I have nothing against its success in fighting off the fascistic corporate state, but he's right, at least as far as the U.S. is concerned.

    ISPs could be required to install routers which block anything which does not follow a prescribed protocol -- a whitelist, as it were.

    Spyware software which allows access to limited protocols of the internet (e.g. HTTP, FTP) would be required, and would use government-approved revokable encryption keys which expire too often for there to be any practicality in cracking them, since the encryption would be done in the middle, at the ISP level, and not at the P2P ends.

    People with economic power -- I'm sorry guys, that's not us -- would accept the government's explanation that this is needed to fight off cyber-terrorism. So there would not be enough dollar protests to fight such a draconian system even if we tried. The public has already been conditioned for martial law.

    The government was hoping that the July 6 cyber-attacks occurred, so that it could justify moving closer to this reality. Thankfully they did not happen.

    Violators could be fined or sued, and there would be no due process rights because they are matters for the civil, not criminal, courts. The Constitution is obsolete.

    People could try to create other ways to access the internet outside of the U.S., such as freenet servers outside of the U.S., but in the U.S. it would be called an act of terrorism, ala Patriot Act II, which if caught could lead to arrest and indefinite detention without trial under Ashcroft's regime.

    I realize Freenet is the best we have so far, and it will delay things, but if the fascists in the government, RIAA and MPAA have their way, it won't be free. Do not become complacent because of Freenet, and assume that everything is safe.

    We are living in a police state. It's time to start coming up with alternative defenses in the event of internet martial law, such as pirate radio, Fidonet and BBSes, etc.

    Support Freenet, but remember it is not a panacea.

  • by HanzoSan ( 251665 ) * on Monday July 21, 2003 @01:30AM (#6488714) Homepage Journal

    $10 a month to freenet and get all the music and movies you want,

    Or pay the RIAA $100,000 dollars per song.

    I think we dont have a choice but to make the logical business decision just like the RIAA made the logical business decision to sue 60 million people.

    Here you go, Subscribe now FreenetSubscription

  • Re:Good. (Score:3, Interesting)

    by archeopterix ( 594938 ) on Monday July 21, 2003 @04:20AM (#6489071) Journal
    Sorry if this tips your sacred cow, reader, but in a world where something like Freenet would be necessary users would be shot in the head no matter how cleverly the data stores themselves resist tampering.
    The point about Freenet is that you cannot divide countries into democracies, where Freenet is unnecessary and dictatorships, where Freenet is impossible. There is a continuum of possible options in between. I think of Freenet as a probe that tells you where on this continuum your country really is and perhaps does something to prevent sliding it down the scale.
  • by leuk_he ( 194174 ) on Monday July 21, 2003 @04:44AM (#6489108) Homepage Journal
    1. Its theorethic. The original freenet concept contained simulation to show that it should work. I am missing this here.
    2. It does not fit really well in the freenet sources. In the current freenet implementation the network layer and routing layer are split. Unless you develop it yourself this will not be implemented in freenet (soon).

    DNF: estimate if they are legimate by estimating their time. This does not work on a saturated network. And freenet is always (by design i think ) full.
    There are some asumptions here that do not work. Also there will be things in freenet that will try to hide the location /no hops it took because it leads to security problems.

    Inherited Knowledge:
    Make nodes learn faste by assuming some kind (vague!) of trust between nodes. read: create trust by an estabished node and new (unreliable?) node. This is against the freenet paradigma and creates all kinds of security problems. This kind of thing should not be implemented in freenet where the 1st priority is security.

    The only positive thing this article is suggesting is to time the data and so optimize the flow of messsages according to the internet structure. In freenet this is an implementation problem.

    There were more of these kind of suggestions on the freenet tech mailing list. I unsubscribed it (too much spam, too much interesting ideas from people who had no clue)

    If you write such articles please investigate other p2p solution as well! (gnet/gnunet india network and many others.)

  • by Myself ( 57572 ) on Monday July 21, 2003 @06:41AM (#6489345) Journal
    Every major release I set up a node and run it for a few days to see if it's gotten any better, but I end up shutting it off.


    You're part of the problem! The reason Freenet sucks for a little while after each release is that there's a huge influx of empty datastores joining the network. The network bounces back pretty quickly, as data gets passed around and as routing tables hone themselves, the network gets a lot better.

    Then a day or two later, you and 90% of the other slashdotters drop off, and leave holes in everyone's routing tables. All the contribution that your nodes were just starting to make, gets undone. All the copies of content that got replicated into your datastores vanish. All the routing optimizations that were just sorting themselves out get broken again.

    Tourists hurt the network. If you're judging Freenet based on it's performance the day after a slashdotting, you're not getting a full or fair picture. Come back and stay a while! Let your node run for a week and I think you'll be impressed.

    When they say Freenet is slashdot-resistant, they refer to content within the network. Any piece of data, be it a single file or a whole freesite, will simply propagate more as more people request it. The network itself definitely labors a bit as empty datastores dillute it. The best way to improve Freenet's performance is to encourage those tourists to stick around, so they and the network will benefit the most.
  • by Teancum ( 67324 ) <robert_horning AT netzero DOT net> on Monday July 21, 2003 @10:05AM (#6490136) Homepage Journal
    One aspect of Freenet is that the content reflects what the community puts out there. If you want to see stuff other than porn, put in up on the network. In fact, it will help to put even more stuff as long as it is of value to other people.

    "If you make it, they will come" is all to important with Freenet.

    Another point to make: If you view the porn and try to download it, you are also spreading this content to other nodes. If you don't want it on the network, don't view it or use it. Indeed, Freenet is very democratic in this sense, and you "vote" on each key each time you use it. These votes are actually used to determine if data is kept or discarded once the data store if filled, and old seldom used data is dumped routinely.

Never test for an error condition you don't know how to handle. -- Steinbach

Working...