Closed Bug 488762 Opened 15 years ago Closed 15 years ago

Figure out how to figure out distribution (git/svn) problems

Categories

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

x86
All
task
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: oremj, Assigned: oremj)

References

Details

Need to improve speed and solve locking problems.
Blocks: 488758
Blocks: 485609
Blocks: 486357
No longer blocks: 488758
Although not all issues are completely fixed updates should now be much quicker.
what happened?
I snagged demo Fusion-IO cards (http://www.fusionio.com/Products.aspx) and we're testing with those.  If anything, this will buy us some time.
Severity: normal → minor
Any updates?
Nothing more than comment #5.  Card is working great and I won't let them take it back.
I think comment 3 and comment 5 might have resolved this bug.
At comment #1 the getfirebug.com update time was duped to this bug. The update time has not improved as far as I can tell.
Getfirebug shouldn't take longer than 30 minutes to sync out. You might be seeing the netscaler cache. If you append a random query string i.e., ?cache-buster12, so you see the new content?
I guess I don't understand the concept: why does it take 30 minutes to update? It makes working on the site extremely painful.
The svn cron runs every 15 minutes. The data syncs out to the US webheads within 10 min, but the NL/CN webheads have to wait for all US data to sync overseas and then sync to the those webheads.
So what if we got rid of svn? Or: what can we do to get staging service with updates in the seconds range?
(In reply to comment #13)
> So what if we got rid of svn? Or: what can we do to get staging service with
> updates in the seconds range?

svn might very well run very fast but it only updates 4 times an hour and the web servers only update 6 times an hour.  Amsterdam takes a bit longer.

Staging sites are only in the US and probably sync at a different clock interval.
John - we try to avoid doing rapid iterative changes on production sites and do updates in batches on Tuesday or Thursday nights if possible.  It reduces the risk of having regressions and ensures quality for users.  Updates during business hours are possible but updating during off-peak hours has less chance of affecting users in a negative way.

Our environments are usually laid out like this:
1) dev - hacking/testing/development, instant testing/verification (sometimes someone's laptop)
2) staging - group testing, QA on production hardware, auto-pull from SVN every 5-15 minutes
3) production - updated by IT only, less frequent
(In reply to comment #13)
> So what if we got rid of svn? Or: what can we do to get staging service with
> updates in the seconds range?
It'd be much faster to do development in an environment where you can instantly test your changes -- you should be doing this before changes are committed.
(In reply to comment #15)
> John - we try to avoid doing rapid iterative changes on production sites and do
> updates in batches on Tuesday or Thursday nights if possible.  It reduces the
> risk of having regressions and ensures quality for users.  Updates during
> business hours are possible but updating during off-peak hours has less chance
> of affecting users in a negative way.

Our experience is exactly the opposite. getfirebug.com has bad quality because it is so slow to update we give up. If we do make updates and they are wrong its takes forever to fix it.

> 
> Our environments are usually laid out like this:
> 1) dev - hacking/testing/development, instant testing/verification (sometimes
> someone's laptop)

This is the one I want. How to get it.

> 2) staging - group testing, QA on production hardware, auto-pull from SVN every
> 5-15 minutes

This is fine for the final result.

> 3) production - updated by IT only, less frequent

We don't have the resources to work this way.
(In reply to comment #9)
> At comment #1 the getfirebug.com update time was duped to this bug. The update
> time has not improved as far as I can tell.

Ok I did an update and it was much faster thanks, more like the 30 minutes you mentioned.  For builds this is ok.
John - that's the reason why we don't make updates in production all the time, and only update when we have tested on staging.  It's not good to constantly fix regressions on a user-facing app on the fly for the same reasons you wouldn't publish an RC build of an extension without testing it.

For dev, could use a VM or just set up a LAMP stack/install on your desktop or laptop and that'd do the trick?  Possibly set up a VM hosted by IT that you could have access to, but it's much faster to just edit, save, refresh on your local machine.

I'd be willing to help get the site set up on your local machine if you need help with that.
(In reply to comment #19)
> John - that's the reason why we don't make updates in production all the time,
> and only update when we have tested on staging.  It's not good to constantly
> fix regressions on a user-facing app on the fly for the same reasons you
> wouldn't publish an RC build of an extension without testing it.

Sure I understand all of this, but every other staging server I have used updates in seconds not 30 minutes.  I'll set up to test locally.
I think we have pretty different definitions of staging.
Status: NEW → RESOLVED
Closed: 15 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.