-
Notifications
You must be signed in to change notification settings - Fork 110
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
Add Leader-Follower paradigm to Solr-on-ECS #3854
Comments
we will discuss but logs show we can proceed with Leader for now. |
The easiest-to-implement, but more resource-intensive design is to replicate exactly what we have on FCS which is two version of the catalog application: (1) Public for end-users, (2) Admin console for harvesting In order to implement this design, we would...
PRs are needed for both the I am against converting the existing To ensure the above paragraph does not cause confusion, I'm not suggesting a new repository; "a separate CSB plan" is merely a new service directory in the existing |
The above outline is just the setup for Solr. Effort would need to be put into modifying the
|
Future work (maybe): https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service_definition_parameters.html#sd-networkconfiguration
|
Changes to solrconfig.xml to enable replication. |
This should be sufficiently complete now. To help categorize the above work for future reference, (the sub-bullets are mostly minor, sometimes breaking, fixes to the parent bullet) Infrastructure Changes:
Solr/CKAN Configuration Changes:
PR that created appropriate tests for the above changes:Each PR has specific information about what needed to be changed or added to get us further. The highest level design consists of:
|
@nickumia-reisys is the diagram above available for re-use? @mogul wanted to use for SSB documentation |
Unfortunately, it just the screenshot. I made it with a random online flowchart tool and didn't have a way of saving it without making an account. If it can be used as is, I see no problem adding it to the SSB documentation. |
No worries, I think I can recreate it pretty easily. |
User Story
In order to serve more traffic load, the Data.gov SSB Team wants to implement a leader-follower paradigm for standalone Solr configurations.
Acceptance Criteria
[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]
[AND optionally another precondition]
WHEN [a triggering event] happens
THEN [a verifiable outcome]
[AND optionally another verifiable outcome]
Background
Parent Issue:
Security Considerations (required)
[Any security concerns that might be implicated in the change. "None" is OK, just be explicit here!]
Sketch
In order to implement this design, we would...
n-count
of ECS task definitions/services to start up each replica (very similar to current ecs.tf)solr-[id number].ssb.data.gov
domain and point it to the secondary LB just createdadmin.tf
to initialize the admin user/password for each of the replicas by way of the samen-count
parameteradmin.tf
service to optionally update the admin password for each of the replicas as well. (Be careful not to break existing functionality)bind
methodology to add the new binding to every solrreplica
parameter being > 0solr.xml
orsolrconfig.xml
The text was updated successfully, but these errors were encountered: