🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rocksolid.nodes
Article #376

Re: sqllite, huh ?

#376
From: Retro Guy
Date: Fri, 01 Jan 2021 10:27
22 lines
1952 bytes
On Wed, 30 Dec 2020 23:13:01 -0700
Retro Guy <retro_guy@retrobbs.rocksolidbbs.com> wrote:

> On Wed, 16 Dec 2020 09:21:04 +0000
> retro.guy@rocksolidbbs.com (Retro Guy) wrote:
> 
> I finally have newsportal using a sqlite database for thread data. I
> have not done anything past that, just changed the way it stores the
> data from a big 'serialized' file to a .db3. It seems to be working
> fine. Right now this is only running on a test site.

One issue I had with the way np handled it is that the entire group is
serialized into a file, and it (np) would just delete the file and
recreate it (takes a long time) for any changes (like the server
expired an article, etc.). 

Now that it's in a db, I can access the data much easier and I've
started with dealing with expired articles. I simple delete them from
the database, not rebuild the entire thing. I eventually would like np
to thread directly reading/writing to the db, but not there yet.

Retro Guy
Technical Details
Message-ID: <20210101032739.13d25186@desktop14.dt>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!rocksolid2!.POSTED.localhost!not-for-mail
References: <20201211185438.0facd5ad@desktop14.dt> <n.1268.460pfw@anon.com> <53b1591460be38a137f320dc1c265eff$1@rslight.i2p> <20201230231301.7f789621@desktop14.dt>

Show Full Headers
Complete Article Headers
Message-ID: <20210101032739.13d25186@desktop14.dt>
Subject: Re: sqllite, huh ?
Date: Fri, 1 Jan 2021 03:27:39 -0700
From: Retro Guy <retro_guy@retrobbs.rocksolidbbs.com>
References: <20201211185438.0facd5ad@desktop14.dt> <n.1268.460pfw@anon.com> <53b1591460be38a137f320dc1c265eff$1@rslight.i2p> <20201230231301.7f789621@desktop14.dt>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!rocksolid2!.POSTED.localhost!not-for-mail
Newsgroups: rocksolid.nodes
Organization: RetroBBS
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: novabbs.org; posting-account="retrobbs1"; posting-host="localhost:127.0.0.1";
 logging-data="26271"; mail-complaints-to="usenet@novabbs.org"
X-Newsreader: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)