-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPL-579 Expose LH plate map metadata to PAM #118
Comments
This story may be to convert crawler to write to a MySQL MLWH database instead of Mongo. Rather than duplicate the information on both. |
Further to Andrew's comment above - |
In theory Mongo was designed for non relational schemas were you want to keep a huge amount of tuples without decreasing performance on scalability. In practice, I suppose a well indexed and tuned SQL database could provide same level of performance, however I don't think this is something easy to achieve. In our case, I think the main reason to use Mongo was that is the database for Eve, the web framework that we are using in Lighthouse. Although crawler now can be very easily changed to write to other database types, choosing another database will require substitute the Lighthouse project entirely, as it is developed in Eve. For me, the main advantages for Mongo have been that we have increased the size of samples and we haven't decreased performance, which it doesn't happen so often. For instance, now we keep more samples inside Mongo database than in Sequencescape database. And the main disadvantages for me:
|
Based on the comments it sounds like there need to be further discussions on the best approach for this. |
From the email "(Friday, 17 July 2020 at 13:59) Subject: Proposed changes to Lighthouse crawler + MLWH contents", the list of queries PAM wanted to be able to do was:
I've been looking at how much of this we can easily currently get from the mongodb. Results:
(Could probably put into one query, if you can get an aggregation to work)
(Modify list to get different selection of centres)
Use ‘Lighthouse positive samples report’ in Lighthouse UI
Use ‘Lighthouse positive samples report’ in Lighthouse UI for Root Sample IDs |
Tasks: Database schema:
Business as usual:
Historical data migrations:
Other:
Research tasks:
|
Testing notes for in UAT environment Before deployment
Deploy
After deployment
Migrate historical data:
Test 'business as usual':
|
User story
GPL-579 | As PAM informatics leads (Rob K & Ian W) we would like to query the LH plate map data to support 'end to end' reporting
Who are the primary contacts for this story
Rob K (PAM)
Ian W (PAM)
Rich L
Neil S
Acceptance criteria
To be considered successful the solution must allow:
NB This table will have rows discussion with PAM to be held if can expose only +ves in rows, however assume will send all LH samples (+ve, -ve and void results) to MLWH.
Additional context
Discussed in design meeting 17th July and document mail Rich L (Friday, 17 July 2020 at 13:59) Subject: Proposed changes to Lighthouse crawler + MLWH contents, mail to dev team
The text was updated successfully, but these errors were encountered: