Skip to content
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

Location structure for transit and internal ( i.e. RV maps or the distributor internal logic ) #67

Merged
merged 4 commits into from
Jul 1, 2022

Conversation

yb01
Copy link
Collaborator

@yb01 yb01 commented Jul 1, 2022

Note that this explicitly renamed the RP map structure with two different location types so the change will NOT accidentally mis use the types either for internal usage or the in-transit use. this will help up in the future to refactor the code or re-consider the RV approach post 630

Copy link
Collaborator

@q131172019 q131172019 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After final commit is posted, I will do quick verification in my test environment.

Copy link
Collaborator

@q131172019 q131172019 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use two AWS t2.2xlarge EC2 instances running on Ubuntu20.04 to run global resource service and one resource region manager simulator for Beijing region for 40+ minutes without issue.

-- global resource service:
ubuntu@ip-172-31-4-135:~/go/src/global-resource-service$ go run resource-management/cmds/service-api/service-api.go --resource_urls=ec2-34-222-30-69.us-west-2.compute.amazonaws.com:9129 -v=6

--- simulator for Beijing:
ubuntu@ip-172-31-4-135:~/go/src/global-resource-service$ go run resource-management/test/resourceRegionMgrSimulator/main.go --region_name=Beijing --rp_num=20 --nodes_per_rp=10000 --master_port=9129 -v=6

Copy link
Collaborator

@q131172019 q131172019 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/LGTM

@yb01
Copy link
Collaborator Author

yb01 commented Jul 1, 2022

issue #68 created to track the renaming of the TransitResourceVersions type.

@yb01 yb01 merged commit 59de2ef into CentaurusInfra:main Jul 1, 2022
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