Closed Bug 421424 Opened 17 years ago Closed 17 years ago

Deploy bouncer GeoIP patch

Categories

(mozilla.org Graveyard :: Server Operations, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: oremj, Assigned: oremj)

References

()

Details

Attachments

(1 file)

Bouncer should now have all the features needed to launch its GeoIP functionality. We need to: * Come up with a deployment plan * Load test http://svn.mozilla.org/projects/bouncer/1.0/branches/production * Anything else? * Push it live Our options for deploying are probably: * svn up download.mozilla.org * Create download-geo.mozilla.org * Host a release or ? Thoughts?
Flags: needs-downtime+
Assignee: server-ops → oremj
GeoIP Off = define('GEOIP',false); GeoIP On = define('GEOIP',true); Memcache Off = define('CACHE',false); Memcache On = define('CACHE',true); Ran load tests: Memcache on: GeoIP off: 914 req/s GeoIP on: 774 req/s 774 / 914 = ~85% Memcache off: GeoIP off: 566 req/s GeoIP on: 524 req/s 524 / 566 = ~93% Since we should always be running with memcache off we will probably suffer about a 15% performance hit, but this deployment will add a slave database option. Since all of these queries are slave eligible we have the ability to scale bouncer almost horizontally.
Do you mean with memcache on? We run with it on all the time, right???
Oops, yes typo s/running with memcache off/running with memcache on/
We also need to run http://people.mozilla.org/~oremj/mirror_ip_to_country.sql.bz2 to import the IP mappings.
I think everything is ready to go here. When would be a good day to do this? Tuesday is addons php5 and Thur is addons 3.2. We could either do it 3/20 (with the, possible, 3.2 update) or move it to 3/25?
Any reason we can't do it on the 18th?
If we are doing the php5 migration on the 18th I'd rather not. That migration will probably end up taking 4-6 hours.
This is out number of mirrors and total "bandwidth" per region: mysql> select count(region_name), region_name, sum(mirror_rating) from mirror_mirrors as mm join mirror_mirror_region_map as rm on rm.mirror_id = mm.mirror_id join mirror_regions as mr on mr.region_id = rm.region_id group by region_name; +--------------------+---------------+--------------------+ | count(region_name) | region_name | sum(mirror_rating) | +--------------------+---------------+--------------------+ | 1 | Africa | 500 | | 17 | Asia | 6203 | | 2 | Australia | 530 | | 32 | Europe | 12460 | | 36 | North America | 27863 | | 3 | South America | 1100 | +--------------------+---------------+--------------------+ 6 rows in set (0.00 sec)
Can we get a page in the app to show this breakdown - helpful I think
Does this bug depend on that?
Depends on: 422824
Anybody object to 3/25?
No objection.
Code and database have been updated, but GEOIP is set to false for now.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: