🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Doc O'Leary Sun, 23 Mar 2014 16:16
Best way to handle ranges with gaps?
#86135
Author: Doc O'Leary
Date: Sun, 23 Mar 2014 16:16
18 lines
2440 bytes
I'm looking into writing my own newsreader and one thing I'm looking to 
improve is how, at least for the clients I've used, fetching headers 
really seems to bog down as cross-posts get marked read.  For example, 
the overview of 100K articles might take 15 seconds for a contiguous 
block, but over 5 minutes if it has to make multiple requests for 
smaller ranges.

I'm wondering if anyone has worked out a good formula or rule of thumb 
on the trade-offs involved in time, bandwidth, server load, etc.  A gap 
of a single article doesn't seem like enough to justify the overhead of 
making multiple requests (e.g. 1,3,5 vs 1-5), but maybe it does for gaps 
5 or 10.  Does anyone have a good idea where the sweet spot is, or a 
good way to calculate it (other than direct sampling)?  Thanks.

-- 
iPhone apps that matter:    http://appstore.subsume.com/
My personal UDP list: 127.0.0.1, localhost, googlegroups.com, teranews.com,
    and probably your server, too.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads