Skip to content

Enabling Distributed Processing - #61

Open
markmac99 wants to merge 279 commits into
wmpg:masterfrom
markmac99:distrib_processing
Open

Enabling Distributed Processing#61
markmac99 wants to merge 279 commits into
wmpg:masterfrom
markmac99:distrib_processing

Conversation

@markmac99

@markmac99 markmac99 commented Feb 14, 2026

Copy link
Copy Markdown
Contributor

An upgrade to the RMS solver, CorrelateRMS, to enable distributed processing across multiple servers. To assist with this the first step has been split into two, one to create candidates and one to perform initial simple solutions.

This PR also replaces the JSON database with SQLite which is necessary to enable distributed processing and also brings performance benefits. The PR adds two new commandline arguments, one to control how much data to retain in the databases, and one to post-fix the log name with the phase name eg correlate_rms_20260101_12345_cands.log. This is to ensure each phase's logfile is uniquely named and to make it easier to monitor and debug.

@markmac99

Copy link
Copy Markdown
Contributor Author

ps - thanks for finding time to review this. When you've stared at it for as long as i have, you stop seeing the bugs :)

@dvida

dvida commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Absolutely, it's a monumental piece of work and a second pair of eyes is always helpful :)

@markmac99

markmac99 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

@dvida removing previous comment as i think i just figured out a solution. I'll pass an optional "parent logger" as a parameter to the constructor of Trajectory(). If thats None, then i'll create a console-only logger within Trajectory.py. If the parent logger is not None, then I'll use it.

I think this will work, but need to test it from a few places.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants