Article View: news.software.nntp
Article #57077Re: [FNTP] splitting text/binaries
From: Nuutti Kotivuori
Date: Wed, 06 Mar 2002 21:39
Date: Wed, 06 Mar 2002 21:39
285 lines
13952 bytes
13952 bytes
It seems I am explaining how Freenet works more and more here, even though I am hardly an expert on the matter myself. But yet I will try. Juergen Helbing wrote: > Nuutti Kotivuori <naked@iki.fi> wrote: > >>> I am not familiar with this special P2P. >>> But it seems to have the same approach: >>> Files are sent around the world a billion times. >> >> Actually no. Files are propagated to hosts when they are requested, >> along the path it the request takes. > > This seems to be a good approach. > Some smaller news-servers are already using this design. > This is a kind of "proxy-mode" for NNTP. > The NNTP-Servers are only getting headers all the time. > Articles are fetched only by request. > > This method is already used in my own toy (MyNews) and in DNews. > > This works pretty good if users are downloading only what they want. Yes - I believe it's the same principle. I have personally used NNTPCache on my machine and it has worked well. Now let's imagine if every usenet host was a "proxy-mode" server and the headers were somehow magically transferred to everywhere - an article posted somewhere would be propagated to all the "proxy" hosts on the way when someone requests it. Same thing. Except that ofcourse that mentions the "magic" transferrance of headers and there's the problem that many requests would go to all the servers around the world just about. But those problems do not exist in Freenet - more about that down a bit. >> No, not as such. There is _no_ possibility of searching in Freenet >> at all - this is of privacy concerns. You _need_ to get informed >> that something new is available to be able to download it. But you >> do need to use alternative paths to find out what is new. This >> however is a fundamental part of the system so it has been solved on >> a lower level. So basically, you can know when there are new things >> posted in the part you wish to observe. > > Thanks for these explanations. It is hard to beleive that such a > system would ever get wider acceptance. > > The newsgroups are the exact oposite: There you get the information > "what is new" all the time. And this is for me (and most neticens) > the biggest advantage of Usenet overall. Er. You misunderstood me a bit. Read below. >> There is a very usenet type of discussion system (with attachments) >> already working in Freenet. Every user can get the latest articles - >> and the articles are propagated from where they are requested and >> such the network load is always balanced around the first hop. > > How does this work ? Either the messages are hidden (privacy) or > they are sent/searchable. > > Now I am completely confused. I'll try to explain a bit more carefully - this is a hazy subject for me as well. In Freenet, as an architecture, there is no way searching - and no way to know when something new appears. That is - if a user just inserts a key into freenet and never tells anyone about it - nobody will ever know about it. But since this would be a very silly system indeed where you couldn't ever know any new files - all the injectors notify someone that they have added something to Freenet. This someone is ofcourse not a person, but a place, where people will know to look for new stuff. In the messaging system built on top of Freenet, this place is basically what a discussion forum - or group - is. So a person who wants to check if there's anything new in the discussion forum he's watching, can do that. Er - the explanation came out bad nevertheless - maybe I need to read more. But, to say it with a simple analogy to Usenet: Freenet is like Usenet where there is no active file - no global group listing. But if you know the name of the group you are interested in, you _can_ see if there's anything new there. Actually this isn't true either, since there is an active file of sorts, but it isn't authoritative, it's just for convenience. So the problem in understanding is that Freenet as an architecture does not provide means for new stuff discovery - but the things built on top of it do. >> Freenet is not a file storage system per se. In Freenet, all data >> is transient - it will drop out of Freenet if nobody requests >> it. This is ideally suited for binary usenet type file distribution >> - no old files ever have to be reposted, since those wanted files >> still get requested quite often - and new files will only stick >> around if they are wanted. This also takes care of the flooding >> problem - nobody ever wants to download the flood, so they will >> drop out very fast. > > For Usenet this would be "expiry at ## days after the last request. > A very good idea ! And could be easily adapted. > > And if an article would have expired then it could be fetched from > another host which still has it. Exactly. Except that in Freenet, the expiry is not definite - things get expired from the oldest forwards when hosts run out of storage space. >> But the thing with Freenet is that we don't need the news providers >> setting up the system - we don't need anything but the address of a >> single peer - and the whole network of connections develops by >> itself. And since there are also other uses for Freenet, it's not >> such a funny thing to assume that ISPs might dedicate a computer to >> handle a Freenet node for the benefit of their customers. > > If we would move a part of Usenet to Freenet then they will need a > _lot_ of powerful servers. I dont beleive that Freenet would be able > to manage additional 100 GB/day :-) > > It seems to be necessary that todays NSPs are setting up own > Freenet-servers (with authentication) to handle the volume. Well true - nor is the Freenet software by far mature enough to be used globally - that's one reason why Freenet is just an example, not a solution. On the other hand - nobody can really browse Freenet without running a node themselves. That means quite a lot of storage space if we consider the amount of users a system like this would have. It is possible to run a node without accepting inbound connections - but this solution takes a part away from the privacy. >>> Why should we "go back to the roots" beginning at zero if we >>> have all these advantages ? >> >> That is true - and I'm not denying it. But what I'm saying is that >> if we _really_ want to do binary transport well - the usenet model >> is not the way to go, perhaps. > > Right now Freenet seems to be more a system of connected > "Auto-mirror-FTP-servers" for me (perhaps the wrong term). Err, I though Freenet to be such a system as well. Until I installed it and browsed it. Once I spent 5 hours surfing links inside Freenet through my web browser and then spend a couple hours reading Dilbert comics that date back a few years (dilbert.com and other only have about a month) - I was convinced that Freenet is a network and not a bunch of servers. Freenet behaves like a giant FTP/HTTP/NNTP server all rolled into one on your local machine - and you can spend ages browsing through it's contents and never find it all. > And as a lot of people have been always proposing to use > FTP (or something similar) it might be a good idea to remove > the binaries completely from Usenet to such a network. Well the thing here is that with "Auto-mirror-FTP-servers" we always basically have a home server for a file - in Freenet there is no such thing - an article is just injected into the network from somewhere and it ends up on somewhere. And even then, you don't browse news articles with FTP - but with Freenet you do. > Of course we would still need an "announcement" system > (headers today) for the binary groups. On FTP, yes, on Freenet, no. >> I may seem as a really enthusiastic advocate of Freenet up there, >> but in actuality I am not. It's just a good example of things done >> right, in a few places. > > Thanks for explaining it so good. > I believe that Usenet can learn a lot from other systems. > And I am not really a fan of "re-inventing the whell". >> The main point, which would be needed for a truly efficient binary >> transport system, is the propagation of data to where it is needed >> - and the dropping of data based on how wanted the data is, not how >> old the data is. > > This is of course a complete different design of a binary network. > But it reflect the current use of Usenet far better than the actual > method. >> By this propagation method, for example - a polish translation of >> some book would probably propagate quite fast to many polish sites >> - but hardly ever to anywhere else. > > The most important concern here would be that most articles are read > anywhere in the world. So we could get the effect that a single > user's request of one file would cause a transport (and storage) on > 2-20 servers (depending on the path). > > I have no idea how many articles on Usenet are _never_ read - and > how many articles are read 1/10/1000 times. But basically we would have quite a well load balancing situation. Only the first few requests have to go to the originating server - and after that usually there is a more central server holding the information. The net effect of this is mostly so that new, often requested, articles are on local servers almost everywhere and the older stuff usually has to come from further away. >> And by the dropping method, no reposts are needed. If the files are >> wanted, they stick around - if they are not, they drop out. > > But this does not solve the problem that harddisks are getting > full - and that a method to expire "by size" as well. Actually, in Freenet, this is _only_ a method to expire when harddisks get full. There is no need to discard anything if we have storage space to spare. And since in Freenet, every user runs his own node, we would get quite a lot of storage space for stuff. >> If the files have dropped out and then somebody requests them - they >> will have to find someone who has the files stored - just that they >> might have a hard time doing that if no-one else wants the files >> anyway :) > > "They will have to find someone" is nicely said :-) > Who would do this ? > The client application or the nearest server? Er - I meant that if the files have been dropped out of the whole of Freenet. And then this is the same kind of situation like there is with usenet reposts of older stuff - you ask someone to put it on Freenet again. > And it might be worth to think about the topology of such requests. > Would it be possible that a "request for an older file" is > transferred to some 50.000 hosts - and still nobody has them ? > > In such cases the amount of "file-requests" on that network would > even be higher in total volume than the whole file itself! Er, it works a bit like IP routing - the servers actually learn to route requests better and better in the network through adaptive routing tables - and from a request they can usually know where it should be routed to get an answer. And another thing which is like IP routing - every request has a "hops to live" parameter. So no request will ever survive infinitely in the network. A too small "hops to live" value will cause the file not to be found - but usually people first request things with a small "hops to live" value - and then gradually rise that value if they are willing to wait a long time for the request to get processed. So no, the amount of "file-requests" on the network will not be that high. >> These advantages are brought by Freenet today - but that doesn't >> mean that Freenet would be the optimal implementation by far. And I >> don't think Freenet today is even able to reasonably offer any of >> those advantages, considering it's unfinished state. > > But - as I said before - it offers some nice conceptions which > are considerable. Exactly. >> So what I really am saying - there are ways things could be done >> really right. Binary usenet sounds to me like a yet another halfway >> solution. > > For a solution which was developed in the 80's it is still fine ;-) > And adapting it to "modern demands" is what we are doing right now. > > Thanks for your valuable information. There nothing better than first hand information - I'm just giving pointers and hanging a carrot. Finding out about Freenet is easy - and installing a node is easy. If you find a free afternoon, it may very well turn out that you will be a regular Freenet browser from there on. -- Naked
Technical Details
Message-ID:
<87adtlidfh.fsf@iki.fi>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.online.be!ams.uu.net!newsfeed.song.fi!news.cc.tut.fi!uutiset.saunalahti.fi!localhostReferences:
<2933d.332200@archiver.winews.net> <87k7sshytm.fsf@iki.fi> <58269.532204@archiver.winews.net> <87eliyj4x3.fsf@iki.fi> <13158.632201@archiver.winews.net>Show Full Headers
Complete Article Headers
Message-ID: <87adtlidfh.fsf@iki.fi> Subject: Re: [FNTP] splitting text/binaries Date: Wed, 06 Mar 2002 23:39:14 +0200 From: Nuutti Kotivuori <naked@iki.fi> References: <2933d.332200@archiver.winews.net> <87k7sshytm.fsf@iki.fi> <58269.532204@archiver.winews.net> <87eliyj4x3.fsf@iki.fi> <13158.632201@archiver.winews.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.online.be!ams.uu.net!newsfeed.song.fi!news.cc.tut.fi!uutiset.saunalahti.fi!localhost Newsgroups: news.software.nntp Organization: SAUNALAHDEN asiakas Lines: 284 NNTP-Posting-Host: cs183115.pp.htv.fi Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: tron.sci.fi 1015452701 12509 213.243.183.115 (6 Mar 2002 22:11:41 GMT) X-Complaints-To: newsmaster@saunalahti.fi NNTP-Posting-Date: 6 Mar 2002 22:11:41 GMT User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i386-debian-linux) Cancel-Lock: sha1:ZaQ5XGvtFSiLdvRepG6bF+xFkuE=