Comment On Your $500,000 System

It's not that I'm against highly paid consultants. Call me old-fashion, but I really do believe that leveraging a strategic partnership with a proactive service organization can actually synergize and streamline mission-critical objectives. But no less, I do love sharing stories like this from Greg ... [expand full text]
« PrevPage 1 | Page 2Next »

Re: Your $500,000 System

2005-06-07 13:55 • by christoofar
90% of most senior developer positions open up in the market this way.  Break/Fix is a moneymaker.

Re: Your $500,000 System

2005-06-07 13:57 • by Sean
But did he even try re-indexing and tuning?

Re: Your $500,000 System

2005-06-07 14:07 • by smitty_one_each
That beats an application I saw where a very expensive view was implemented to figure user privileges at log-in time.

Before the code review for this log-in module, I traced the code.

Being a nice guy, and liking the coder whose work was under the
microscope, I didn't gun for him during the review.  Afterwards,
though, I asked him if the logic didn't have him hitting that expensive
view twice during the procedure.  He was a little shocked when I
walked him through the code supporting my claim.

But it worked, so he never fixed it while I worked there...

Re: Your $500,000 System

2005-06-07 14:12 • by podperson
Hey it worked ...



Pretty good value for a top-tier consulting firm in my experience.

Re: Your $500,000 System

2005-06-07 14:14 • by smitty_one_each
I spent the next two weeks fixing everything,
and I was able to return the same data using only a single stored
procedure that contained five select statements.  After I fixed
(re-wrote) the page, it loads in less than a second.


One of the hidden assertions behind this type of story is that you
*can* make fundamental changes.  Sometimes, the AWCB (Asshat Who
Came Before) implemented dates in a text field, and we aren't chartered
to make fundamental changes beyond the one page for which we were
hired.  So you end up implementing a server-side function to
attempt a typecast and at least flag the bad data for the query.

Revolutionary change is swell when you can sell it; but we're often stuck with the ugly evolutionary change.

Re: Your $500,000 System

2005-06-07 14:15 • by Amazinderek
35754 in reply to 35751
Well, "Go Big or Go Home" is what I say!

Re: Your $500,000 System

2005-06-07 14:25 • by Eric Wise
35755 in reply to 35754

I've done work for "top tier" consulting firms before as a W2 employee.  The value was never NEVER anywhere near what it claimed to be.


The symptoms were poor management, salespeople who promised the world, customers who didn't test or verify anything, scope creep, and general incompetance in the development staff.


That's why I work for myself.

Re: Your $500,000 System

2005-06-07 14:47 • by mugs
35758 in reply to 35755
This would be more interesting if we knew what was causing it to do all of that.

Re: Your $500,000 System

2005-06-07 14:50 • by John Smallberries
35759 in reply to 35758
mugs:
This would be more interesting if we knew what was causing it to do all of that.


yeah, I can understand selects, but why updates & inserts? especially going through COM+ tranactions?



wtf?

Re: Your $500,000 System

2005-06-07 15:01 • by something
What no MSMQ? wusses..

Re: Your $500,000 System

2005-06-07 15:07 • by John Bigboote
35762 in reply to 35761
Anonymous:
What no MSMQ? wusses..




Guaranteed delivery is for wussies who can't handle uncertainty.

Re: Your $500,000 System

2005-06-07 15:11 • by Matt B
35763 in reply to 35758
mugs:
This would be more interesting if we knew what was causing it to do all of that.




seconded



the WTF here is the lack of the details!

Re: Your $500,000 System

2005-06-07 15:17 • by Bustaz Kool
Alex Papadimoulis:

Call me old-fashion, but I really do believe that leveraging a strategic partnership with a proactive service organization can actually synergize and streamline mission-critical objectives.


Should we infer from this that your paradign is completely unshifted?

Re: Your $500,000 System

2005-06-07 15:20 • by Mike Wills
I didn't directly write the code, but we had the same thing. It was a
poorly designed system. We have been living with it for a few years. We
are now towards the end of the development of a complete redesign. It
also sounds like it is much faster.. and this time we wrote it.

Re: Your $500,000 System

2005-06-07 15:54 • by catapultic
I hate cleaning up other people's code just as much as the next guy,
but you have to remember. The guy who wrote it before you was probably
qualified enough to get it to work, but due to pressure from above,
inadequate design, time constraints, or other system constraints,
sometimes people do things in a less optimal way in order to just get
the damn thing to work. (Unless he was just an unskilled douche bag).
I'm sure we've all found ourselves in a similar position. If you are a
highly-paid consultant (or just an average-paid consultant like me) you
want your client to be happy with a quickly delivered product that
works, it doesn't necessarily have to be gorgeous code or run the
fastest because your client probably doesn't care. For example: Right
now I'm using Session variables. I hate Session variables, but they are
a short-term solution while I'm waiting on a third party to rebuild
their crappy, untested component and send us a new release. The SDLC is
all about give and take, compromise, etc. and if we were all concerned
with writing perfect code 100% of the time, projects wouldn't get
delivered, and that would just suck for everyone.



There is, however, a thin line between "compromising performance for functionality" and "inadequate skill level."

Re: Your $500,000 System

2005-06-07 15:59 • by Rick Scott
35768 in reply to 35767
Why on earth do you hate session variables? What is the alternative?

Re: Your $500,000 System

2005-06-07 16:06 • by catapultic
35769 in reply to 35768
Actually, personally I like session variables because they are easy to
use, but if you google session-variables you will quickly see that it
is the general opinion of the development community that they are the
tools of the devil.



What's the alternative? I don't know, there are so many session
variables in the project I'm using right now, if I'm told I cannot use
them, I will be screwed. (We can't use viewstate)

Re: Your $500,000 System

2005-06-07 16:19 • by mahoneyr
35771 in reply to 35769

The drawback of session variables is when you have more than one web server you're screwed...


Once that happens you have to either tie a user to single web server or move the session state out of process somewhere that all web servers can get at it - asp.net lets you do this easily and I'm sure other platforms do too. It's just that it's off by default and if you don't realise it you can cause yourself problems.

Re: Your $500,000 System

2005-06-07 16:24 • by John Smallberries
35772 in reply to 35769
catapultic:
Actually, personally I like session variables because they are easy to
use, but if you google session-variables you will quickly see that it
is the general opinion of the development community that they are the
tools of the devil.



What's the alternative? I don't know, there are so many session
variables in the project I'm using right now, if I'm told I cannot use
them, I will be screwed. (We can't use viewstate)


I'm in a similar situation now; gotta get the app working, but don't
have a robust component that allow session state management across a
server farm and support both ASP and ASP.Net in the same session.



For now, I just created a wrapper class for the session intrinsic.
Later, I'll swap out the implementation with my shiny new stuff.



Re: Your $500,000 System

2005-06-07 16:27 • by Diego Mijelshon
35773 in reply to 35769
catapultic:
Actually, personally I like session variables because they are easy to
use, but if you google session-variables you will quickly see that it
is the general opinion of the development community that they are the
tools of the devil.



What's the alternative? I don't know, there are so many session
variables in the project I'm using right now, if I'm told I cannot use
them, I will be screwed. (We can't use viewstate)




Repeat after me: "There is no silver bullet".

Session variables are a nice way to have variables that have the same
lifetime as the session (which expires usually 20 minutes after the
user stopped using the application, unless you explicitly destroy it).

You should understand the
memory and scalability implications of this, and consider the
alternatives (ViewState, Application, Cache, HttpContext, Static
variables, Hidden fields...). If you do, and they are indeed the best
solution, there is no reason not to use them.

Re: Your $500,000 System

2005-06-07 16:28 • by dubwai
Alex Papadimoulis:

I have been fixing bugs and adding functionality to the code for over a month now, and I am shocked every single day at how poorly the application was written.



I wonder if we work at the same company.  500K is nothing.  We've paid way more for stuff that doesn't even work at all.  But outsourcing development is a 'success', full steam ahead!

Re: Your $500,000 System

2005-06-07 16:31 • by catapultic
35775 in reply to 35774
It's nothing too big, the session variables are just strings, not datasets or anything. Like "runtime user preferences" I guess.



Like I said, we can't use Viewstate.

Re: Your $500,000 System

2005-06-07 16:37 • by John Smallberries
35776 in reply to 35774
dubwai:
Alex Papadimoulis:

I have been fixing bugs and adding functionality to the code for
over a month now, and I am shocked every single day at how poorly the
application was written.



I wonder if we work at the same company.  500K is
nothing.  We've paid way more for stuff that doesn't even work at
all.  But outsourcing development is a 'success', full steam ahead!



Seriously. We paid about $2 million US for a system that took over a
year to write. When it was delivered, it supported about 5 concurrent
users (this was a web app, so that pretty much sucked) and ran at a
snail's pace. They brought me in, I hired 4 more developers, and it
took us 6 months to get the thing usable.



Just for details: This was a specialized on-line content authoring app.
The main problem was the content versioning mechanism. There was a
single version number for all the content. Any time anyone made any change, the entire version's data
was copied to new records in the DB. A fix to a single character typo
would necessitate thousands of inserts into hundreds of tables. We had
to redesgn the DB schema to support independent versioning of content
sections, then reimplement the app on top. grrrr....

Re: Your $500,000 System

2005-06-07 16:40 • by dubwai
35777 in reply to 35750

Sean:
But did he even try re-indexing and tuning?


You are funny.


[man, I hope you ae joking]

Re: Your $500,000 System

2005-06-07 16:44 • by dubwai
35778 in reply to 35776

John Smallberries:

Seriously. We paid about $2 million US for a system that took over a year to write. When it was delivered, it supported about 5 concurrent users (this was a web app, so that pretty much sucked) and ran at a snail's pace. They brought me in, I hired 4 more developers, and it took us 6 months to get the thing usable.


Why not buy a house with a mislaid foundation at twice the price of a properly built house?  Developers don't get it.  It takes an MBA to understand these highly sophisticated financial moves.

Re: Your $500,000 System

2005-06-07 17:32 • by John Smallberries
35780 in reply to 35778
dubwai:

John Smallberries:

Seriously.
We paid about $2 million US for a system that took over a year to
write. When it was delivered, it supported about 5 concurrent users
(this was a web app, so that pretty much sucked) and ran at a snail's
pace. They brought me in, I hired 4 more developers, and it took us 6
months to get the thing usable.


Why not buy a house with a mislaid foundation at twice the price of
a properly built house?  Developers don't get it.  It takes
an MBA to understand these highly sophisticated financial moves.



MBA == Must Be an Asshat?

Re: Your $500,000 System

2005-06-07 17:41 • by John Smallberries
35781 in reply to 35775
catapultic:
It's nothing too big, the session variables
are just strings, not datasets or anything. Like "runtime user
preferences" I guess.



Like I said, we can't use Viewstate.


Out of curiosity, why can't you use ViewState? As I understand it, it's
just an encrypted name/value collection stored in a hidden form field.
I'm assuming you really mean "can't", not just "don't wanna".

Re: Your $500,000 System

2005-06-07 17:50 • by xinbi
Have you ever thought that maybe bad coders (thinking they're great coders) look at great code and think, "What crap!"  ??

Re: Your $500,000 System

2005-06-07 17:59 • by dubwai
35783 in reply to 35782

xinbi:
Have you ever thought that maybe bad coders (thinking they're great coders) look at great code and think, "What crap!"  ??


Only a bad coder thinks that good code is hard to understand.

Re: Your $500,000 System

2005-06-07 18:04 • by loneprogrammer
35784 in reply to 35782
xinbi:
Have you ever thought that maybe bad coders look at great code and think, "What crap!"  ??


Sure, that happens.  They will say "This code is too
complicated.  Why bother creating a new object when you can just
use a couple of global variables instead?"



"Why bother checking for errors when the user doesn't want to see them anyway?"



"Why bother?"





Re: Your $500,000 System

2005-06-07 18:12 • by Depressed

[:'(][:'(][:'(][:'(][:'(][:'(][:'(][:'(][:'(][:'(][:'(][:'(]


I work at a company where certain, mmm, influential individuals (who benefit financially from the decision) have largely decided that outsourcing development is the way to go.  I have seen much of this type of coding:  things that don't work or are designed terribly, disparate systems that need to be crammed to work together, all in pursuit of "quick hit" solutions (that somehow never turn out to be "quick").


And then I get to see the politically connected [6] and clueless project manager types [:-*] who know nothing of the technology or the business take credit [H] for things that the actual developers [8-|] who work here do (quite literally, they actually claim they are developers).  Actual developers mostly aren't allowed to talk to the business directly. [:#]


If my job paid less, I would be gone *so fast*.


 

Re: Your $500,000 System

2005-06-07 18:21 • by dubwai
35787 in reply to 35785

Anonymous:
I work at a company where certain, mmm, influential individuals (who benefit financially from the decision) have largely decided that outsourcing development is the way to go. 


If you know this is true, have you considered placing an anonymous tip in the proper place?  That's unethical at best and possibly illegal.


I was actually wondering lately whether there are a lot of kickbacks in these outsourcing deals.

Re: Your $500,000 System

2005-06-07 20:34 • by seizethedave
35790 in reply to 35785
Anonymous:

[:'(][:'(][:'(][:'(][:'(][:'(][:'(][:'(][:'(][:'(][:'(][:'(]


I work at a company where certain, mmm, influential individuals (who benefit financially from the decision) have largely decided that outsourcing development is the way to go.  I have seen much of this type of coding:  things that don't work or are designed terribly, disparate systems that need to be crammed to work together, all in pursuit of "quick hit" solutions (that somehow never turn out to be "quick").


And then I get to see the politically connected [6] and clueless project manager types [:-*] who know nothing of the technology or the business take credit [H] for things that the actual developers [8-|] who work here do (quite literally, they actually claim they are developers).  Actual developers mostly aren't allowed to talk to the business directly. [:#]


If my job paid less, I would be gone *so fast*.



You'd probably [}] be happier [;)] making less.


/zen [C]

Re: Your $500,000 System

2005-06-07 20:38 • by spotcatbug
35791 in reply to 35787
dubwai:

I was actually wondering lately whether there are a lot of kickbacks in these outsourcing deals.

It doesn't even need to be an illegal kickback. VP's get giant bonuses for reducing short term costs all the time.

Re: Your $500,000 System

2005-06-07 20:39 • by spotcatbug
35792 in reply to 35791
Can we at least get the ability to edit our posts so that we can *attempt* to fix them?

Re: Your $500,000 System

2005-06-07 21:31 • by BigZaphod
I've seen this problem before at a place I used to work. They blamed Oracle up and down for being slow and lame. After spending some time playing around with it, I found that the Oracle layer they had coded had some seriously stupid code in it that would run queries that returned thousands of rows when 1 row would do, then iterate over those rows and run more queries on each one, etc. This was repeated over and over throughout the code under the grossly mistaken impression that Oracle didn't support the particular kind of join they wanted to us in certain situations. This was in place for years with numerous customer complaints and nothing was ever done about it because clearly it was just Oracle's fault. Ugh. Glad I'm not there anymore!

Re: Your $500,000 System

2005-06-07 21:49 • by Gordy
This sounds so familiar.



I remember back in the mid 90s working on an radio system that was
being implemented in C++. Half the team were permanent employees, the
other half were contractors. This project was the company's first C++
project so everyone was learning as they went. Many had formal C++
trainning but not everyone. The contractors were very keen to be on the
project since it allowed them to get C++ onto their CV/resume.



It was not until one of the contrcaters left that we did a code review
of one of his work items. His task has been to create a class that
would allow use to track the stae of some flags in the system. The
number of flags was small (8-16) and was not expected to grow. What we
expected to find was a wrapper around a fundamental type (e.g. unsigned
int) with getters and setters. What we got was page after page of code
that implemented the generic concept of a bit and then went onto
represent the concept of a group (arbitrary number) of bits. I think he
managed to use some of the RogueWave classes as well. It was incredibly
over the top and totally unsuited to our application since it was
around 5 times larger than necessary.



We could not work out why it had been done this way and finally
concluded that he'd done it that way to learn more about C++. This was
in the mid 90s with Y2K looming a few years away. We must have been
paying in 30-50GBP per hour for the two (or three) weeks it took him to
create this at the end of his contract; a minimum of 2400 GBP (max 6000
GBP) for something that any decent C++ developer could do in half a
day; with the other other half day for writing the tests.



That experience has coloured my view of jobbing contractors. No doubt
this is a very unfair view but it has made me very wary of bring
contractors in on projects.

Re: Your $500,000 System

2005-06-08 00:37 • by vhawk
Top-tier consultancy firms also hires programmers fresh from university
or even those that have just completed their wonderfull MC**
certification or other worthless money making certification. These
people are then supposed to know what they are doing.  The truth
is that these people knows very little about real life programming (I
have seen NT kernel level software where the same method was layered in
three or four wrapper classes that did nothing more than calling the
original method. - and the biggest software company this side of the
galaxy hired the people that did this)



Writing software is all about problem resolution and very little about
anything else.  Most programming languages have the exact same
logical operators and constructs and apart from the tools, programming
on windoze / unix / vms etc etc platforms is simply programming.

Even after 26 years as a programmer and 15 years as an consultant I'm
pretty sure that I still write stuff that can be proudly published on
wtf when using a language that I am new at.  One often finds this
type of design flaws when someone is new at programming or new at the
programming environment.  If I had to do this web page,
experienced web developers will be in stitches and rolling on the floor
laughing - which does not do away with the fact that I again excel at
equiptment control and interfacing systems and doing horrible program
maintenance on stuff written in a horrible programming lnguage called
ABAP.



Ok there is my 2c

Re: Your $500,000 System

2005-06-08 04:28 • by ProffK
35802 in reply to 35798
Hey, I was hired and placed, with no experience, by a consulting firm,
and I was quite sucessful at ABAP; I even liked it.  I even liked
the cryptic four letter table, five letter field-names, half German
half English data dictionary.  The code editor sucked.

Re: Your $500,000 System

2005-06-08 04:44 • by V.
if loading ten items out of the database took more then a few seconds I would ask myself questions....

Re: Your $500,000 System

2005-06-08 06:09 • by dhromed
35804 in reply to 35803
I wonder of some of the queries used DISTINCT.

Re: Your $500,000 System

2005-06-08 08:25 • by foxyshadis
35806 in reply to 35782
xinbi:
Have you ever thought that maybe bad coders
(thinking they're great coders) look at great code and think,
"What crap!"  ??


Sometimes the difference can be subtle. A lot of highly portable
low-level code is an absolute mess of macros, branches, and supporting
functions, in order to make up for the differences and deficiencies of
different compilers/databases/etc, and optimize the speed under
different circumstances and architectures. (The BSD str* functions are
good examples.) It might take some work to figure out if it's a badass
bit of great code once the light shines, or a glorified bogosort.



Of course, leaving it as simply good, standard, short code beats tuning
it into a turbocharged racing machine for anything that's not a simple
library function.

Re: Your $500,000 System

2005-06-08 09:31 • by konijn
35812 in reply to 35802

>Hey, I was hired and placed, with no experience, by a consulting firm, and I was quite sucessful


>at ABAP; I even liked it.  I even liked the cryptic four letter table, five letter field-names, half


>German half English data dictionary.  The code editor sucked.


?? What year was that, things have evolved nowadays ;)


 

Re: Your $500,000 System

2005-06-08 10:09 • by dubwai
35813 in reply to 35802

ProffK:
Hey, I was hired and placed, with no experience, by a consulting firm


nothing against you personally but this is exactly why I think outsourcing development is for suckers.  How much was the consulting firm charging for your time?  $100/hr? $200/hr?  That seems to be the going rate for completely inexperienced college grads through consulting firms.  Hell, I was one of them.  It's a rip-off.  You aren't paying for the programmer, you are paying for a new Porche for a manager at the consulting firm and perhaps some kickbacks to your own middle managers. It could happen; there's plenty of profit in those consulting fees.

Re: Your $500,000 System

2005-06-08 10:47 • by UncleMidriff
35815 in reply to 35798

Anonymous:
Top-tier consultancy firms also hires programmers fresh from university or even those that have just completed their wonderfull MC** certification or other worthless money making certification. These people are then supposed to know what they are doing.  The truth is that these people knows very little about real life programming (I have seen NT kernel level software where the same method was layered in three or four wrapper classes that did nothing more than calling the original method. - and the biggest software company this side of the galaxy hired the people that did this)

Writing software is all about problem resolution and very little about anything else.  Most programming languages have the exact same logical operators and constructs and apart from the tools, programming on windoze / unix / vms etc etc platforms is simply programming...


I can attest to this.  I'm no more than a year and one month out of college (with just a minor in computer science), and already I'm working as a Systems Analyst/Programmer Level 3 (out of just 4 or 5 levels).  Let me assure you, I am nowhere near experienced enough to be in this position.  How I got here has convinced me that contracting is evil.


When I first started this job, I was a Junior Web Developer (nope, no web development experience in college whatsoever) for a subcontractor of the main contractor that worked for the organization where I am physically located.  Then the main contractor lost the contract, and since the organization where I'm working didn't want to start over with brand new contractors, the majority of us contractors got hired by the new contracting company that won the contract.  However, they low-balled the bid, meaning that the same positions would now potentially be paid much less.  Even though the organiziation could have ended up paying less for the same positions, they didn't want a bunch of unhappy workers hurting productivity.  So what do they do?  They tell the contracting company that they need the contract employees put in higher positions than they had before.  They get continuity in workforce, the contractors get paid the same or more, and the contracting company gets to charge the organization more...everyone wins!  Except now you have people like me that, even though they're decently good workers/programmers/what have you, absolutely do not have the experience needed for the position they are in.


Another reason contracting is evil is because it creates too much separation between employer and employee.  I work for the organization; they see my work, they have to deal with me on a day to day basis, they like me, and I like them.  I'm employed by the contracting company; I haven't seen any of the people by whom I'm employed since the day I was hired.  So, the contracting company can screw me over as much as they want, they won't have to deal with Grumpy Adam, and they still get paid by the organization.  I can work my ass off and while the organization might appreciate it, they won't be able to do jack for me, because I'm not their employee.


*sigh*


Ok, I'm done for now.

Re: Your $500,000 System

2005-06-08 11:06 • by Spuddo
35818 in reply to 35815
I actually have a reversed version of this story. A customer was having
terrible performance problems and they were convinced we were doing
something stupid with the database. After 6 months of tweaking 
and emergency support calls with no real results on their side they
finally moved their database to a different machine. Immediately all of
their problems disappeared :)

Re: Your $500,000 System

2005-06-08 11:13 • by dubwai
35819 in reply to 35815
UncleMidriff:

Another reason contracting is evil is because it creates too much separation between employer and employee.  I work for the organization; they see my work, they have to deal with me on a day to day basis, they like me, and I like them.  I'm employed by the contracting company; I haven't seen any of the people by whom I'm employed since the day I was hired.  So, the contracting company can screw me over as much as they want, they won't have to deal with Grumpy Adam, and they still get paid by the organization.  I can work my ass off and while the organization might appreciate it, they won't be able to do jack for me, because I'm not their employee.



The other side of this equation is that the contractors who don't have the experience they need or the time they need go into crisis mode and produce extremely poor software that is extremely expensive to maintain.


At my company, there is a project that is so overdue and overbudget that the contractor isn't even being paid anymore.  Every few months they bring in a new set of new-hires to keep working on it.  I figure that from the contractors perspective, they know they aren't going to get anymore contracts and they aren't getting paid, so why put their competent people on it?  They just use this project to train their new-hires.


If they ever finish (2 years late) the full-time employees here will have to maintain this system and not only is it poorly implemented, it's poorly designed.  Apparently the contractors liked flash or wanted to learn it so they developed the whole front-end in flash.  It's a B2B site.  There isn't any animation.  It's nothing you couldn't do with JSP or ASP.  Tthe rest of the system is developed in 6 (yes 6) different languages.

Re: Your $500,000 System

2005-06-08 12:26 • by DWalker59
35827 in reply to 35815
UncleMidriff, that was refreshing to hear you say that you don't have enough experience to be in the position you're in.  With smarts like that, you'll be better than most programmers when you do get the experience!

Re: Your $500,000 System

2005-06-08 12:53 • by JohnO

$500K is nothing and at least that project went to production.  We had a project that cost $120M and never got to production.  We literally flushed $120M down the toilet.  How does that happen?  You bring in one consulting company and put one of their guys in charge of the project.  The more hours the project takes the more he makes because, you got it, he gets a cut of every hour billed on the project.  You also let him decide early on if the system meets the initial "stress" test.  Sure, he's going to cancel his own project if it doesn't pass the test.  The company managers on the project are totally hands off and insist on big-bang deployment postponing the train wreck as long as possible.


The really sad part isn't the expensive contractors -- it's the idiotic company management that should be overseeing the contractors and don't or are too incompetent to do so. 


Contractors are like employees. There are good ones and bad ones.

Clueless app developers complaining at the DBA

2005-06-08 13:03 • by ilmari
One customer of ours, for whom we do Linux and MySQL support, had been
complaining for ages that the database server was too slow and needed
more tuning. So, after spending hours tuning the very last drop out of
the database server and getting the load time for the slowest page down
to 2 minutes (yes, two minutes!), my boss finally demanded to have a
look at the PHP code for the page. It turned out the customer's app
developers couldn't even spell SQL, and did stuff like:

SELECT * FROM TABLE;

only to count the number of rows returned and throwing away the
data. This on a table of several hundred thousand forum postings. And
this was only one of the major brain damages in that one page. :'(



« PrevPage 1 | Page 2Next »

Add Comment