maintenance

Rewrite rule for "site down" pages

I was trying to install this .htaccess to notify my users of site maintenance. It seems the first [L] isn't working and the second rewrite is doing everything. How do you guys do site maintenance messages? RewriteEngine on RewriteRule ^s/down$ index.html [L] RewriteRule ^(.*)$ http://metaward.com/s/down [R=302,L] ...

Policy on maintenance releases vs normal releases?

My company is struggling with the question of maintenance releases versus "normal" releases, in the context of an application installed on-site at large organisations who pay for support. First let me define my terms: Imagine we've released versions 1.0, 1.1, and 1.2 of the product. These are what I call "normal" releases, i.e. they ar...

How to implement "Maintenance Mode" on already established website

I have built a fairly robust website (PHP) with more than 60 pages. I have only now realized (unfortunately) that I should have built in an "In Maintenance Mode" feature to allow an admin to temporarily disable the website and point it to a Maintenance Mode page. This would only allow those logged in as an admin to view the website. T...

Mantain old releases without creating long-lived branches

Hi. I'm newbie in Git. I have read: "Pro Git : Maintaining a Project" (book) and Git : Documentation/howto/maintain-git.txt Tough question for me: how to mantain the old releases without creating a separate long-lived branches. In other words, I am interested how to working with a branch "maint" in the project Git. In example (mergin...

Why separate maintenance work from development work?

I work at a company where maintenance is being done by the same team that brings life to a piece of software. Very often I hear about organizations that have a separate maintenance team or a maintenance programmer. What I wonder about is -what- the reasoning behind this is? Apart from ditching 'old code' to lesser mortals, is there any...

How do I monitor and find unused indexes in sql database

I would like to monitor index usage for an sql database, in order to find unused indexes and then drop them. How can I monitor index usage most efficiently? And which scripts could be useful? (I'm aware of this question about identifying unused objects, but this applies only to the current run of the sql server. I would like to monitor ...

Has anyone ever observed any ratio trend of the quantity of software maintenance time compared to the number of users of your software?

So for example have you noticed a big difference in support request volume on software being used by 1000 users compared to just 50? Or is it more related to how solid the software actually is? It's almost like calculating how valuable it is for us to take the extra time to make the software properly, which would be a nice thing to sell ...

Looking for reference/quote/source on code maintenance

I have a vague recollection from way back in college of one my professors saying something to the effect that after only 3 weeks (on average) of not looking at the code for a program, studies showed the original author of the program had no benefit working with/maintaining that code vs a developer who had never seen the code. Going ba...

Link checking solution.

We have over 10, 000 links to websites added by clients... Can anyone recommend an approach to monitor the status of these linkouts so I can keep track of if they are online... Would I be better of running a daily script? or is there another way to do this? I would be looking for a solution that would alert me when any of these links we...

How to test for test for application,database and date changes without a triggered function

I'm trying to plan how to build some functionality into my new app, and am unsure if there is a "correct" way to achieve what I am looking for. There are certain things that I want to get done with my site, say when a certain dateTime is matched aginst some other date time, then send email. Or for example, consider the badges on stacko...

Programming Ratios

Hi. Has anybody seen studies of ratios of maintainance programming to new development? Thanks. ...

Have you ever sacrificed bleeding-edge [insert language/framework here] for a job with less stress?

I may have a situation in the future to take a less stressful job, which pays great and has excellent benefits, while working with old technology. Not Cobol old, but a generation back from where I am today. This is a double-edged sword for me. I have never felt comfortable in dev shops. It doesn't appeal to me for some reason. I enj...

Maintaining traceability up-to-date as project evolves

During various projects, I needed to make sure that the use case model I developed during the analysis phase is covering the requirements of the project. For that, I was able to have some degree of traceability between requirement statements (uniquely identified) and use cases (also uniquely identified). In some cases, enabling traceabil...

What is a good early termination fee for maintenance contracts?

Just got back from a client that asked to have an early termination clause added into a proposed maintenance contract. The contract is to be for a full year with option to renew. The client may pay monthly or all upfront. I'm wondering what is a good early termination fee assuming I should have one? No fee Fixed fee 2-4 months of month...

What is the thing that irritates you while doing maintenance coding?

What is the thing that irritates you while doing maintenance coding? Can you point out some points for easier maintenance for me and my fellow programmers? ...

Do you develop your Perl applications as CPAN modules?

Recently I read a blog post saying that it is a good practice to develop Perl applications just as you would develop a CPAN module. (Here it is – thanks David!) One of the reasons given was that you could simply run cpan . in the project dir to install all the dependencies. This sounds reasonable, and I also like the “uniform interface” ...

Proper status code for a maintenance page redirect?

While performing some upcoming maintenance, I'm going to have to redirect all site traffic to a maintenance page briefly. What's the proper status code to use for the redirect? 503 makes sense, but it's not technically a redirection status. 302 is a temp redirect, but wondering if that might have implications if the site is being spider...

When do you compact a Sql Server Database?

We have a SQL Server 2000 database that holds most of our teams databases running on a relatively old server. Lately we have been having some weird slow down issues on some of our database calls in various applications. (So I know it isn't application specific) It was mentioned to me that we should look into compacting some of our d...

How to reduce maintenance costs

It has come to the point where 4 out of 5 developers are full time dealing with maintenance or support issues. This is mainly due to the total lack of accountability (read:reviews etc) during the development process and having dozens of small in-house legacy applications everywhere which everyone is scared to replace. Management is hit...

Database Maintenance

I am trying to do some basic maintenance on a sql server 2005 database. It's fairly small (10gb in size, 50 tables or so). I am first doing the following on all tables: update statistics [table name] with fullscan followed by reindexing all tables. DBCC REINDEX ([table name], ...) Is this correct? Is the sequence right? Do I ne...