Article View: news.software.nntp
Article #64622Re: Newsreader programming - sorting one million lines ?
From: DS
Date: Mon, 31 Mar 2003 21:22
Date: Mon, 31 Mar 2003 21:22
77 lines
4578 bytes
4578 bytes
Marcus M�nnig <usenet-mar03@40tude.com> wrote in news:4lt0oyjp7vbg.dlg@40tude.com: > DS wrote in <Xns934F8EB67D9C6idispcom@216.65.98.9>: > >> First of all, Jeurgen replied to one of my posts saying it was 'great >> that you can process 2-3000 headers' a second. When I read that, I >> just continued on reading. I think the 2-3000 number came to be from >> my saying I process about 1mBit/sec when doing XOVER's. Couple/few >> hundred bytes per header comes out to that ballpark. But I was >> processing that speed in total bytes rx'd from the server's including >> IP overhead. That's how my IP meter works. So take off 20ish%. > > That would be 1600-2400 hps then, while your test came up with > >> Total time: 10:00, 176,205/600 seconds = 293 headers/sec. > > 293 hps. Did you run this over a remote connection or actually with a > local server? These were all run to other networks over my cable ISP. One was one of my ISP's server, and the other 3 were to the pay-servers I have. > >> Does any of this sound reasonable, I mean, are these number's way >> off, good, bad ? > > Well, there is no need to look left or right if you and your users > don't need it faster than it is. I couldn't agree more. I don't know what kind of percentage of users would be NOT on a DSL or Cable connection, and NOT go thru the internet. It's a compromise for the masses, just like many other features. I have called other news-readers 'over-featured'. Feature's that MAYBE a couple % of user's might utilize. Which, at this point, aren't worth the time and effort to try to work in. ZaNews (no longer ZNC) is featured for broadband connections, with a hopefully easy to use interface, and simple configuration. And the test's I did were with just d/l'g and processing headers. This is THE most database activity imaginable. When actually d/l'ing multi-part binaries, with no simultaneous header download's, I am positive ZaNews will achieve MINIMUM 2 mBits/sec. At that point, very limited database activity is going on, just a LOT of writing to the hard-drive. > > If the 293 hps was with a local connection, you are (about) fully > using the bandwidth of a DSL connection with this, so users with > better connections or local servers might get turned off. > IMO, I can't look at it that way. I'm looking at actual throughput, how much I can pump through. I also don't have any user's right now, still developing, so I can't get any feedback. I was kind of hoping that some of the other developer's that frequent this group may have a comparison of numbers. >users. Btw, on the user side responsiveness is much more important than >performance anyway IMHO. Responsiveness is more a part of overall performance. And this is what I'm coding for anyway. As the project started out as a ZeoNews clone, I was perturbed about the sometime's 20-30 seconds wait's of ZeoNews just to re-sort a group, and whole program stops responding sometime's while it combine's and decode's part. And other little 'responsiveness' issue's. ZaNews' UI runs in it's own thread, and many of the task's are happening on backround thread's. I've taken all step's possible to this point to try to keep the UI responsive. No one like's to wait on anything. Regards, DS
Technical Details
Message-ID:
<Xns934FA6983F118idispcom@24.48.107.53>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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!router1.news.adelphia.net!news1.news.adelphia.net.POSTED!not-for-mailReferences:
<4540d.o33203@archiver.winews.net> <Xns93498CE88447Aidispcom@24.48.107.54> <Xns934B428C69A95JanC@213.118.75.56> <2605b.v33202@archiver.winews.net> <Xns934F6A37F2940idispcom@216.65.98.9> <1nuiyq8f4gl3k.dlg@40tude.com> <Xns934F8EB67D9C6idispcom@216.65.98.9> <4lt0oyjp7vbg.dlg@40tude.com>Show Full Headers
Complete Article Headers
Message-ID: <Xns934FA6983F118idispcom@24.48.107.53> Subject: Re: Newsreader programming - sorting one million lines ? Date: Mon, 31 Mar 2003 21:22:46 GMT From: DS <t.h.i.s.n.t.h.a.t@a.d.e.l.p.h.i.a..n.e.t> References: <4540d.o33203@archiver.winews.net> <Xns93498CE88447Aidispcom@24.48.107.54> <Xns934B428C69A95JanC@213.118.75.56> <2605b.v33202@archiver.winews.net> <Xns934F6A37F2940idispcom@216.65.98.9> <1nuiyq8f4gl3k.dlg@40tude.com> <Xns934F8EB67D9C6idispcom@216.65.98.9> <4lt0oyjp7vbg.dlg@40tude.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!router1.news.adelphia.net!news1.news.adelphia.net.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: Home User-Agent: Xnews/5.04.25 Lines: 76 NNTP-Posting-Host: 68.71.194.138 X-Complaints-To: abuse@adelphia.net X-Trace: news1.news.adelphia.net 1049145766 68.71.194.138 (Mon, 31 Mar 2003 16:22:46 EST) NNTP-Posting-Date: Mon, 31 Mar 2003 16:22:46 EST