Closed Bug 713954 Opened 13 years ago Closed 13 years ago

tune Cedexis Geo mappings for SUMO

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

All
Other
task
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nmaul, Assigned: nmaul)

References

Details

SUMO currently uses the old Zeus GLB software for multi-location hosting. The main site is in PHX, but there the Zeus cluster in AMS acts as a caching site. There is a partially complete implementation of this in Cedexis already. The only missing link is that it only balances to one of the two IPs in AMS... the other is unused. Need to work some PHP scripting magic to get it to properly balance between multiple hosts at the same location... or just abandon one of the two IPs in AMS.
Assignee: server-ops → nmaul
I've checked out the bandwidth on the 2 IPs in AMS, and it's pretty minimal. One IP should have no problem at all. I've commented the other one out of the script. I also set South America to use phx1, and Africa to use ams1. Other regions - Oceania and Asia - will randomly choose either phx1 or ams1. It's hard to know which way will be faster for them. For a guess Asia should go to AMS1 and Oceania should go to PHX1, but I can see significant variation in that. Making this live is just waiting on the .org / .com name change- this is all set up for .org, but org currently redirects to .com. That's going to change- .org will go to Cedexis, and .com will become a normal (non-zeusglb) DNS record and redirect. I set that bug as a dependency of this one. I don't think there's any more to do here in this bug, but keeping this open for now, for tracking purposes.
Depends on: 683674
This is completed, and seems to be working properly. Keeping this open a bit longer, but with a new purpose: using Gomez data to tune which server various traffic arrives at. Current mappings: 'NA' => 'phx1', // North America 'SA' => 'phx1', // South America 'EU' => 'ams1', // Europe 'AF' => 'ams1', // Africa // 'AS' => 'ams1', // Asia // 'OC' => 'ams1', // Oceania (AU / NZ / South Pacific) Australia appears to be faster by half if directed to phx1 than ams1. Same for Japan. Waiting on additional Gomez data for China, India, Singapore, and South Korea. I suspect we'll want to send Oceania to phx1, and that Asia will be a mixed bag. Japan seems better at phx1, but I suspect places like India will be better going to ams1. We'll want to use Cedexis to see what percentage of the traffic comes from where, and if it's worth switching to country-level routing instead of region-level.
Summary: move SUMO to Cedexis → tune Cedexis Geo mappings for SUMO
New script uploaded: private $mapping = array( 'NA' => 'phx1', // North America 'SA' => 'phx1', // South America 'EU' => 'ams1', // Europe 'AF' => 'ams1', // Africa 'AS' => 'phx1', // Asia 'OC' => 'phx1', // Oceania (AU / NZ / South Pacific) ); private $overrides = array( 'IN' => 'ams1', // India is better in AMS ); Basically, Oceania and Asia go to PHX1, except that India goes to AMS1... Gomez shows that that's a good bit faster. As for the rest of Asia + Australia... Gomez says that PHX1 is faster for Seoul, Singapore, Bejing, Sydney, and Tokyo. The only thing it favors going to AMS1 is India, but Cedexis shows India is a big chunk of our Asia traffic... hence the override for that one country. Russia should probably go to AMS, also. Gomez has no nodes in Russia (anywhere!), but Russia's population is *heavily* weighted towards the European end of the country, and that the eastern half is extremely sparse in terms of population. It is likely that the vast majority of Russian traffic will be better off going to AMS1 than PHX1.
Moved RU to AMS1, calling this good.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.