• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Tutorials
New Wiki
ID reference
Restart reference
Players Online
Player Activity
Faction Activity
Player Base Status
Discord Help Channel
DarkStat
Server public configs
POB Administration
Missing Powerplant
Stuck in Connecticut
Account Banned
Lost Ship/Account
POB Restoration
Disconnected
Member List
Forum Stats
Show Team
View New Posts
View Today's Posts
Calendar
Help
Archive Mode




Hi there Guest,  
Existing user?   Sign in    Create account
Login
Username:
Password: Lost Password?
 
  Discovery Gaming Community Discovery Development Discovery Mod General Discussion Discovery Mod Bug Reports Fixed or invalid
« Previous 1 2 3 4 5 … 94 Next »
[Coding] DSAM takes forever to load the account database

Server Time (24h)

Players Online

Active Events - Scoreboard
Corsair Kills - 0 / 1,000
Lawful Kills - 0 / 1,000
Red Hessian Kills - 0 / 1,000
Unlawful Kills - 0 / 1,000

Latest activity

[Coding] DSAM takes forever to load the account database
Offline Alex.
10-23-2023, 02:48 AM,
#1
Developer
Posts: 3,930
Threads: 145
Joined: Aug 2009
Staff roles: Server Manager
Coding Dev
Moderator

Type: Coding
Bug: When we release new patches, except simple hotfixes, our usual procedure involves telling DSAM to do a complete re-load of the account database. This is ungodly slow and it's not clear why. It doesn't take nearly that long to grep through all character files or even to run mass equipment changes. This sometimes holds the server in downtime for hours during patching.
Since the latest DSAM source code was last some years ago we may have to decompile the existing one we have on the desk, fix up the resulting source code, test it out, and attempt to deploy it to the live server.

FLHook suggestions
All other dev queries
Please only PM me through the forums for things that need to be private like anticheat etc.
[Image: dI8iG0a.png]
Offline Alex.
12-30-2025, 02:22 AM,
#2
Developer
Posts: 3,930
Threads: 145
Joined: Aug 2009
Staff roles: Server Manager
Coding Dev
Moderator

@Aingar has been working on this recently via modifying a DSAM decompilation. A lot of it has to do with visit flags, a lot is SQLite, a lot is simply the ridiculous size of our character database having run for so many years with no inactivity wipe, but there's also a lack of multi-threading going on and likely other issues too.
I have found that whereas the production game server takes a good ~45 minutes to reload the full account database (which is downtime during major patches), on my laptop (where I have slower SSDs than the disco server) I can parse all character files in 10 minutes in serial, or 1.5 minutes if I use multithreading, so there is definitely some efficiency to be gained here.

FLHook suggestions
All other dev queries
Please only PM me through the forums for things that need to be private like anticheat etc.
[Image: dI8iG0a.png]
Offline Aingar
01-11-2026, 01:58 AM,
#3
Armed to the Teeth Developer
Posts: 1,098
Threads: 65
Joined: May 2011
Staff roles: Coding Developer
King of FLServer

It's now as fast as I can reasonably make it without rewriting the entire thing from the grounds up. Can we consider closing the issue?

[Image: cu7MfeX.png]
Offline Alex.
01-11-2026, 02:01 AM,
#4
Developer
Posts: 3,930
Threads: 145
Joined: Aug 2009
Staff roles: Server Manager
Coding Dev
Moderator

yep

FLHook suggestions
All other dev queries
Please only PM me through the forums for things that need to be private like anticheat etc.
[Image: dI8iG0a.png]


  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
1 Guest(s)



Powered By MyBB, © 2002-2026 MyBB Group. Theme © 2014 iAndrew & DiscoveryGC
  • Contact Us
  •  Lite mode
Linear Mode
Threaded Mode