Thread View: rocksolid.nodes.announce
6 messages
6 total messages
Started by Retro Guy
Mon, 14 Aug 2023 13:34
Branch status for RSLight
Author: Retro Guy
Date: Mon, 14 Aug 2023 13:34
Date: Mon, 14 Aug 2023 13:34
20 lines
2406 bytes
2406 bytes
The 'messaging' branch has been merged into master. There is a new branch, 'overview'. You don't want to pull from this branch atm as it contains major changes and will not work with the overview database previous to these changes. Currently, https://news.novabbs.org is running with all these changes, and seems to be running well and substantially faster. The changes are as follows: Completely remove the use of the per group flat file overview databases, in favor of only the .db3 site overview. The .db3 was already used, so making it match the features of the flat file db made sense, plus, the .db3 is much faster. Modified import-db3.php to bring 'articles-overview.db3' up to date (to work with this version). It requires a one-time run of import-db3.php to update the .db3, then you can update to this version (0.9.0). Renamed the function rslight_db_open to overview_db_open throughout the code. It makes much more sense, and easier to avoid using the wrong function. During the process of making these changes, several fixes for tradspool were made. There is a release link on github.com for version 0.8.5, which contains all the code previous to these changes. -- Retro Guy
Re: Branch status for RSLight
Author: Retro Guy
Date: Tue, 15 Aug 2023 13:57
Date: Tue, 15 Aug 2023 13:57
8 lines
1693 bytes
1693 bytes
Retro Guy wrote: > Completely remove the use of the per group flat file overview databases, in favor of only the .db3 site overview. The .db3 was already used, so making it match the features of the flat file db made sense, plus, the .db3 is much faster. This change seems substanially faster since we're not scrolling through a huge flat file over and over again. Just reading/writing from a sorted database. -- Retro Guy
Re: Branch status for RSLight
Author: vga256
Date: Tue, 15 Aug 2023 13:59
Date: Tue, 15 Aug 2023 13:59
4 lines
1218 bytes
1218 bytes
Very cool. I had no idea it was so expensive reading the flatfile. -- Posted on Rocksolid Light
Re: Branch status for RSLight
Author: Retro Guy
Date: Tue, 15 Aug 2023 14:33
Date: Tue, 15 Aug 2023 14:33
10 lines
1942 bytes
1942 bytes
vga256 wrote: > Very cool. I had no idea it was so expensive reading the flatfile. Sorting in sqlite makes a big difference. Speed is greatly improved if you create an INDEX on each column you plan to search for things. We have always had these indices in the dbs, but the flat file overview was really slowing things down. For example, www.novabbs.com (com, not org) currently contains 3,640,739 articles. That's 3,640,739 lines in the overview file. That's a lot to search through, or delete one line from. This site is not yet running the new code. -- Retro Guy
Re: Branch status for RSLight
Author: vga256
Date: Wed, 16 Aug 2023 00:44
Date: Wed, 16 Aug 2023 00:44
4 lines
1308 bytes
1308 bytes
Yeow! one of those scale issues I never think about. -- Posted on Rocksolid Light
Re: Branch status for RSLight
Author: Retro Guy
Date: Wed, 16 Aug 2023 16:45
Date: Wed, 16 Aug 2023 16:45
14 lines
2126 bytes
2126 bytes
vga256 wrote: > Yeow! one of those scale issues I never think about. It's a big file, lol :) Branch 'overview' now contains the changes to remove the use of overview flat file, and also the changes to add history.db3 to track (and not reuse) deleted article numbers. Note: DO NOT UPGRADE to this branch yet, as the old articles-overview.db3 is not structured to handle the new overview. A task must be run first to upgrade the database. I'll post here after testing a new ways that don't take forever to run. My initial test was to just write it from each group.db3, but there are faster ways that I'm looking into right now. -- Retro Guy
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