🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57078

Re: [FNTP] splitting text/binaries

#57078
From: Nuutti Kotivuori
Date: Wed, 06 Mar 2002 22:11
249 lines
13339 bytes
Some of the things here are already answered in my reply to Juergen -
reading it first will help.

Curt Welch wrote:
> Nuutti Kotivuori <naked@iki.fi> wrote:
>> Juergen Helbing wrote:
> 
>> Actually no. Files are propagated to hosts when they are requested,
>> along the path it the request takes. Which means that if another
>> user asks the files from any of the hosts the file came through, it
>> will already be in there. Which, in practice, means that files will
>> be propagated to where they are requested and always delivered from
>> the closest host.
> 
> We debated this sytem extensivly a few years back. It has a lot of
> interesting characteristics.  But we decedied that no one would want
> to convert Usenet to that type system.

I agree - no one would want to do that. Usenet is fine and dandy and
good - but Binary Usenet could maybe do better.

> The problem is that the ability to deliver a file is based not on
> one server, but on a bunch of servers which will be out of the
> administrative doman of the users's host.  That is, as a Usenet
> Admin, I run my server for my users.  When they have problems, I
> need to be able to fix them.  If the ability of my user to fetch a
> file is dependent on one of my peers, then it's out of my control.
> If his server goes down, I have no power to make him fix it.  Users
> come to me and bitch about the quality of my service but yet I have
> very little power to fix it.

Well, the situation is analogeous to WWW - if a site is down
somewhere, you can't do anything about it. Many users still will not
realize it, but many do already these days. The nature of providing
service is different in this kind of a network.

> The same thing happens of course when feeds have problems and you
> can't get all the articles.  But at least when that happens, you
> aren't adervertising a file to your users which you can't deliver.

Well neither would you be advertising it in Freenet. Although in
Freenet, nodes going down is hardly a problem - as long as even one
other server in the world carries that article - and if it is a recent
one - ofcourse they do.

> Also, if the fetch request follows the path of the broadcast of the
> information about the file, then usenet sites would be motivated not
> to be good feeds. They would be motivated not to send out file
> information to their peers because the more they send out, the more
> likely they will have to deliver the body later instead of letting
> the peer get the body from somewhere else.

Well, in Freenet, not sending out the information would be quite
impossible due to cryptography and other things. Every server can
plausibly deny all knowledge of the files that pass through it or that
are stored on it.

> All the distributed designs have these problem and bascially have so
> far been seen as unworkable for usenet.

Yes - converting usenet to something like that would never work - I
agree. However migrating Binary Usenet - and Gnutella, Napster and
whatever - into such a system might be possible.

> However, it did look like a new network could be built from the
> ground up on this principle.  And I'm glad to see some people are
> tying to make that happen. But I suspect it will have serious
> problems scaling as well as Usenet has.  When the servers are so
> cheap to run that hackers have no problems paying for the servers
> and bandwidth out of their own pocket it will work fine, but as the
> network grows, the cost of running a server will grow, and more and
> more servers will start to drop out of the network forcing more and
> more load on the ones left.  To get past that point, somebody will
> have to find a way to generate a real cashflow to keep it going.

Well - ofcourse it's the customers that have to pay for it in the
end. And for this to happen, there really has to be a lot of
worthwhile content on the network.

>> 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.
> 
> You don't know what usenet is do you?  It's freenet after 20 years
> of growth. Usenet started the same way, and still works the same
> way.  You don't need news providers setting up the systems, anyone
> with PC can be part of usenet.

But there is one integral difference. In Usenet - you yourself make
the agreements with the peers for feeds - and you decide what feeds
you are getting and from where. But in Freenet, you only need to find
the first node somewhere - and after that you _cannot_ even affect the
nodes it talks to and receives from. Routing is adaptive, connections
are adaptive, file storage is adaptive. You have no control over the
matter.

> The problem is that as the network grows, so does the traffic though
> each node.  The cache on demand system of freenet will keep the
> volume lower than usenet's flood algorithm, but you will still hit a
> point where the guys in the middle with lots of peers will get
> overloaded and won't be able to afford to keep running his site
> unless he finds a way to pay for it.

But the guy in the middle wont be picking his peers. Neither will
anyone else. And if the guy in the middle decides to regulate his
bandwidth, it will hardly affect others since he is but one provider
to a small set of files, that most likely are somewhere else as well.

But true - to run a good Freenet site you need lots of bandwidth and
lots of hard disk space - and the money for these has to come from
somewhere.

> This the problem Rick Adams faced when he was running sismo (sp?) -
> a big Usenet/UUCP hub run "for free".  At that point, all of the
> UUCP and Usenet network was being run for free by hackers who
> donated there machiens and their time.  Rick founded UUNET - a
> non-profit organization set up to act as a hub for UUCP sites for
> Usenet and e-mail.  He had to find a way to pay for a central hub in
> order to allow UUCP and Usenet to keep growing.  For the next 10
> years, everyone that wanted usenet would buy a feed from UUNET.
> UUNET was the center of of the Usenet world.  They funded the
> development of INN and the UUNET admins were the "gods" of Usenet.
> But over time, Rick cared more about making money than playing with
> Usenet, so he got into the IP network business (Alternet) and the
> non-profit notion that started the company faded away.  He made
> millions in the stock offering and last I saw him he was driving a
> Mercedes convertable with a license plate that shows the UUNETs old
> stock symbol (UUNT).
> 
> Usenet started out much like freenet, but over time, to grow, it had
> to find a way to pay for itself.  Freenet will not be immune from
> the same problem.  Either it will need to find a way to pay for
> itself, or it will hit a growth wall that it won't be able to get
> past.

Well yes, Freenet will need a way to finance itself. And this is very
hard for Freenet since the users will not be picking the site they
connect to.

But on the other hand - every user will be donating bandwidth and hard
disk space to the network.

>> 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 they are willing to pay for it.  But as the growth continues, it
> won't be any different than Usenet.

I think the adaptive nature of it all makes it different. Also the
thing that every user will have a Usenet server on their computer - if
they don't have one, they can't access Freenet.

But I don't know Freenet well enough to say for certain - nor do I
know where all this is going. So I'm just pointing out the places
where Freenet is different from Usenet and why.

>>> I believe that the most important reason why we should try to
>>> "reorganize" Binary Usenet is that there _is_ already a powerful
>>> infrastructure, a lot of exerienced people - and a huge
>>> community.
>>> 
>>> 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.
> 
> Perhaps, but I really do think that if something like freenet will
> work beter, the only way to do it is to build freenet and let it
> grow.  If it's better, the users will switch to it.  Usenet is too
> large and too established to make fundimental changes to how it
> works.

Exactly. There is no way - and no reason - to change Usenet. Just that
the binary part would in time be migrated over to Freenet - or
something else. This ofcourse has nothing to do with this newsgroup as
such, but I'm just thinking that instead of spending lots of manhours
for Binary Usenet, those hours could be better spent developing
something "better".

And to ease the switching - Freenet can already today be accessed with
an NNTP client :)

>> 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.
> 
> Dropping articles based on use has some advantage -- especialy for
> binary files.  But it also get's complex.

Well yes, it is complex. However, in a new system full of cryptography
and privacy issues one small system of expiry hardly compares in
complexity :)

>> And by the dropping method, no reposts are needed.
> 
> You have to re-broadcast the fact that the file is still in the
> network somewhere don't you?  How else do new nodes find out what's
> where?  And how do the nodes know when the file no longer exists?
> How do they know when to expire their database of file pointers?

Err this is a bit of a hard thing to explain, since I don't know the
matter myself so well. But I'll try.

Every time new stuff is added to the network, a "header" for that file
is added to a common place where clients are able to look for new
headers. These headers are subject for expiry as well. Anyway, this
header just contains a pointer to the actual file - a global name for
the file. When a client wants to fetch a file, they request that file
from Freenet (just as they requested the header) - and that request
has a "hops to live" value. The "hops to live" value will determine
how far the request propagates to - it will continue to propagate
until "hops to live" runs out or it finds a host that has the
file. And if a file is found, it is stored on all the servers along
the way when it comes back to the client.

So it is impossible to say whether a file exists or not - we can just
put larger "hops to live" values which means larger waiting times and
hope that some host somewhere is able to find our file.

Actually, I'm not even sure if there is a separate "header" or not -
or if the files itself are stored in a place where clients are able to
look for new one's. Oh well, time to read more.

>> So what I really am saying - there are ways things could be done
>> really right.
> 
> I doubt there is anything you could think of that hasn't already
> been discussed here.  But I'm listening.

Well, like I said in the reply to Juergen - I'm just waving a carrot -
trying to get people open their eyes. The Freenet project has a lot of
things to teach - and one of their studies contain links to just about
every Usenet, Napster, Gnutella or Freenet -like project in the world.
It appears there's quite a lot of things solved in these projects that
could be useful for Binary Usenet as well.

If the future designers of Binary Usenet are here - I think they
should be enlightened enough to be aware of all the different
solutions done - so they can make educated choices on future
direction.

-- Naked

Technical Details
Message-ID: <876649ibxc.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!newsfeeds.belnet.be!news.belnet.be!news.stealth.net!news.stealth.net!news.cc.tut.fi!uutiset.saunalahti.fi!localhost
References: <2933d.332200@archiver.winews.net> <87k7sshytm.fsf@iki.fi> <58269.532204@archiver.winews.net> <87eliyj4x3.fsf@iki.fi> <20020306144220.781$zh@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <876649ibxc.fsf@iki.fi>
Subject: Re: [FNTP] splitting text/binaries
Date: Thu, 07 Mar 2002 00:11:43 +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> <20020306144220.781$zh@newsreader.com>
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!newsfeeds.belnet.be!news.belnet.be!news.stealth.net!news.stealth.net!news.cc.tut.fi!uutiset.saunalahti.fi!localhost
Newsgroups: news.software.nntp
Organization: SAUNALAHDEN asiakas
Lines: 248
NNTP-Posting-Host: cs183115.pp.htv.fi
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: tron.sci.fi 1015452703 12509 213.243.183.115 (6 Mar 2002 22:11:43 GMT)
X-Complaints-To: newsmaster@saunalahti.fi
NNTP-Posting-Date: 6 Mar 2002 22:11:43 GMT
User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i386-debian-linux)
Cancel-Lock: sha1:2IAQlENY5tKi3I8NyKxxA3lI+XI=