Click here to Skip to main content
15,896,606 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: From bad coders to efficient developers, in a day Pin
den2k8811-Apr-18 2:46
professionalden2k8811-Apr-18 2:46 
GeneralRe: From bad coders to efficient developers, in a day Pin
CodeWraith11-Apr-18 2:25
CodeWraith11-Apr-18 2:25 
GeneralRe: From bad coders to efficient developers, in a day Pin
PIEBALDconsult11-Apr-18 4:29
mvePIEBALDconsult11-Apr-18 4:29 
GeneralRe: From bad coders to efficient developers, in a day Pin
Marc Clifton11-Apr-18 7:15
mvaMarc Clifton11-Apr-18 7:15 
GeneralRe: From bad coders to efficient developers, in a day Pin
CPallini11-Apr-18 7:27
mveCPallini11-Apr-18 7:27 
GeneralRe: From bad coders to efficient developers, in a day Pin
charlieg11-Apr-18 11:59
charlieg11-Apr-18 11:59 
GeneralRe: From bad coders to efficient developers, in a day Pin
charlieg11-Apr-18 11:32
charlieg11-Apr-18 11:32 
GeneralRe: From bad coders to efficient developers, in a day Pin
Kirk 1038982112-Apr-18 4:24
Kirk 1038982112-Apr-18 4:24 
Don't get too pleased. I walked into a client getting new software.
He bragged about buying a Huge, SUPER Fast DB Computer, and and SUPER Fast NAS using fiber...
This was 9 months after they started installing and testing "new" software designed for much smaller companies than his. But he thought he could throw hardware at it.

And I knew what he was going to say next... "So, why are we so slow?"
I asked: Did you, by chance, tell the developers what type of hardware you were installing?
Client: Yeah, of course!
Me: So, what incentive did you give them to pay attention to speed for the last 9 months?
Client: <jaw dropped=""> "No. You think they did not optimize things?"
Me: Would you waste your time doing that if the client has the biggest baddest servers ever?
Client: <turning green="">
Me: I am here for something else, but I can take a look at a future point. Make a list of the speed issues so I can see how bad they are...

...
Client: We'd like to add a new row in under 30 seconds on this screen. Currently 2.5 Minutes.
<he had="" a="" few="" pages="" of="" these.="" they="" literally="" paid="" someone="" with="" stop="" watch="" week="" earlier="">

This is all before going on line. the system is not even being heavily utilized, just tested.

The software company was not happy someone else was looking around...

I open up this "database". (Keep in mind they are used to much smaller companies, and the speed issues started when they tested loading real data, and then started testing)

I see NO INDEXES on the largest of tables. I see no FK (Foreign Keys anywhere: The company later brags that they are proud to have no FKs. While this is MSSQL, in Oracle a FK definition impacts the optimizer and the plan strategy in subtle, and beautiful ways)

Literally from that phone call, indexes showed up, and things started getting much better.

The moral of the story. Pay attention to efficiency. Run/test with REAL amounts of data, and on hardware LESS than your clients use. In most of our cases, we made developers run the entire stack on their machine (usually a developer laptop). That alone made the developers conscious of any slow routines they were testing. It usually annoyed them enough to fix the problem.

Finally, as we told this client. The right answer LATE is the wrong answer. Therefore, in the project specifications, and the requirements should be both GENERAL and SPECIFIC speed requirements. Also, any pages that come back (or client screens/queries) that exceed their numbers should be logging them. We like to put HTML Comments in with the TIMING information and a SPECIAL TAG that tells us if it is AT or BEYOND the acceptable response times. SO that when we run our tests, we can actually scan that HTML to validate that none of the pages took too long to come back.

Your boss isn't wrong to pay attention to resource consumption. Although he sounds clueless. If you keep doing what you are doing every week or two... WHEN would you assume YOU have a speed problem?
GeneralMy sympathies... Pin
Marc Clifton11-Apr-18 1:11
mvaMarc Clifton11-Apr-18 1:11 
GeneralRe: My sympathies... Pin
RickZeeland11-Apr-18 1:40
mveRickZeeland11-Apr-18 1:40 
GeneralRe: My sympathies... Pin
Marc Clifton11-Apr-18 1:47
mvaMarc Clifton11-Apr-18 1:47 
GeneralRe: My sympathies... Pin
F-ES Sitecore11-Apr-18 1:52
professionalF-ES Sitecore11-Apr-18 1:52 
GeneralRe: My sympathies... Pin
RickZeeland11-Apr-18 1:53
mveRickZeeland11-Apr-18 1:53 
GeneralRe: My sympathies... Pin
lopatir11-Apr-18 1:53
lopatir11-Apr-18 1:53 
GeneralRe: My sympathies... Pin
Dan Neely11-Apr-18 2:43
Dan Neely11-Apr-18 2:43 
GeneralRe: My sympathies... Pin
PIEBALDconsult11-Apr-18 5:34
mvePIEBALDconsult11-Apr-18 5:34 
GeneralRe: My sympathies... Pin
Marc Clifton11-Apr-18 7:16
mvaMarc Clifton11-Apr-18 7:16 
GeneralRe: My sympathies... Pin
PIEBALDconsult11-Apr-18 11:18
mvePIEBALDconsult11-Apr-18 11:18 
GeneralRe: My sympathies... Pin
Kirk 1038982112-Apr-18 4:31
Kirk 1038982112-Apr-18 4:31 
GeneralCCC - Answer Pin
The pompey11-Apr-18 0:48
The pompey11-Apr-18 0:48 
GeneralRe: CCC - Answer Pin
OriginalGriff11-Apr-18 0:57
mveOriginalGriff11-Apr-18 0:57 
GeneralRe: CCC - Answer Pin
Pete O'Hanlon11-Apr-18 1:04
mvePete O'Hanlon11-Apr-18 1:04 
GeneralRe: CCC - Answer Pin
Richard MacCutchan11-Apr-18 1:46
mveRichard MacCutchan11-Apr-18 1:46 
GeneralRe: CCC - Answer Pin
The pompey11-Apr-18 2:22
The pompey11-Apr-18 2:22 
Generalccc Pin
The pompey10-Apr-18 21:43
The pompey10-Apr-18 21:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.