Article View: news.software.readers
Article #266147Re: betterbird: reading crossposts once?
From: VanguardLH
Date: Tue, 17 Oct 2023 03:34
Date: Tue, 17 Oct 2023 03:34
64 lines
4745 bytes
4745 bytes
Frank Slootweg <this@ddress.is.invalid> wrote: > All you have to do is to remember all the hundred of thousands / > millions of message-ids of the postings you've ever 'read'. How hard > can *that* be!? Thunderbird uses SQLite for the messages databases, one for each folder (newsgroup). While SQLite is fast for small database sizes, it doesn't scale well. The bigger the database, the slow queries get, and the slowdown is not linear. SQLite recommends once you pass into the terabyte range to find a different solution. https://www.dbtalks.com/tutorials/learn-sqlite/what-are-the-limitations-of-sqlite A SQLite database can have maximum 2147483646 pages. Hence the maximum number of tables in a schema cannot reach more than 2147483646. The maximum number of rows in a table is 264. The maximum number of columns is 32767 in a table. Notice only 264 rows per table. You end up managing thousands of tables to retain millions of records. Been way too long since I did any work with SQL, but I thought queries were per table. You'd need a macro that walked through all the tables to do a query across them all. Maybe for the table spec you could use a wildcard, like *, to have the query process across all tables. Many clients also have an option to either flag or delete articles over a threshold in age. I have my client purge posts older than 60 days. Older than that, and the discussion becomes stale. For the expiration, each table in a database, and for each database (folder/newsgroup), you'd have to issue a purge and compact. Overall an SQLite database can hold 140 TB. Is that really big enough? Consider these are message databases, so it's the entire message that gets stored, and that includes very long messages that have gads of quoted content because lots of posters never trim. It would require even more space to store binaries. There are 20K+ newsgroups, and tons of messages in each. To be reasonable, some cutoff in expiration would be needed, but that could result in undoing the read-state tracking, so the same article in different newsgroups across servers could get out of sync. Plus you're talking about caching locally the entire Usenet that a provider has. It would only be for the newsgroups to which you subscribe, but some users subscribe to a lot a newsgroups. I was up to 52 at one time, and am now down to 26. Depending on how many newsgroups to which you subscribe, you could end up having a storage media requirement equivalent to the Usenet providers. How much free disk space do you have? There are some users that run proxy servers for personal use, like using Hamster to leech from a Usenet provider. That lets them have everything the Usenet provider has. A lot of work. Very few users operate their own server. Hard enough to implement read-state tracking on one server. Massively more difficult to do across multiple servers. And we're talking about NNTP clients that could be running on underpowered computers. I've notice my NNTP client will slow down when its message store gets large. Right now it's about 700 MB, but it will grow. That's one reason to have a purge of 60-day old messages to keep quick the responsiveness of my client. That also means threads that have articles older than 60 days and articles younger than 60 days end up getting truncated, so I see a partial thread remaining.
Technical Details
Message-ID:
<1jc7gql3n1783.dlg@v.nguard.lh>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<uftnus$2voq4$1@dont-email.me> <1qnm7s6fh6uot$.dlg@v.nguard.lh> <87y1g5yxux.fsf@hope.eyrie.org> <w29h803rmpn4.dlg@v.nguard.lh> <slrnuilnm3.3uvei.rayban@raybanana.net> <ofkn3js6yvvh$.dlg@v.nguard.lh> <uggt8q.rdg.1@ID-201911.user.individual.net> <ugh6ae$cvr5$3@dont-email.me> <ughha2.nhc.1@ID-201911.user.individual.net> <ughfd8$aigv$1@news.trigofacile.com> <ugjdnb.ido.1@ID-201911.user.individual.net> <8mpm1esqft.fsf@raybanana.net> <ugjt35.nqo.1@ID-201911.user.individual.net>Show Full Headers
Complete Article Headers
Message-ID: <1jc7gql3n1783.dlg@v.nguard.lh> Subject: Re: betterbird: reading crossposts once? Date: Mon, 16 Oct 2023 22:34:41 -0500 From: VanguardLH <V@nguard.LH> References: <uftnus$2voq4$1@dont-email.me> <1qnm7s6fh6uot$.dlg@v.nguard.lh> <87y1g5yxux.fsf@hope.eyrie.org> <w29h803rmpn4.dlg@v.nguard.lh> <slrnuilnm3.3uvei.rayban@raybanana.net> <ofkn3js6yvvh$.dlg@v.nguard.lh> <uggt8q.rdg.1@ID-201911.user.individual.net> <ugh6ae$cvr5$3@dont-email.me> <ughha2.nhc.1@ID-201911.user.individual.net> <ughfd8$aigv$1@news.trigofacile.com> <ugjdnb.ido.1@ID-201911.user.individual.net> <8mpm1esqft.fsf@raybanana.net> <ugjt35.nqo.1@ID-201911.user.individual.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Cancel-Lock: sha1:EjkylhuUgJZFgeN7WdmV/tRS6Hs= sha256:SvL4agZu52HlICrUVUoYWuqeyOucXRyeWsAuCCGpY1Q= Organization: Usenet Elder Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" Mime-Version: 1.0 X-Trace: individual.net By1qB57F1NEBqk5Eoywn3giF4tHt/rqv+rgdjcs4ohfhS9IE3J Newsgroups: news.software.readers,news.software.nntp Sender: V@nguard.LH Lines: 64 X-Received-Bytes: 4745 Keywords: VanguardLH,VLH User-Agent: 40tude_Dialog/2.0.15.41