-
Notifications
You must be signed in to change notification settings - Fork 4
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
Conversation
There was a problem hiding this 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.
There was a problem hiding this 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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/LGTM
issue #68 created to track the renaming of the TransitResourceVersions type. |
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