IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 1 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Forced optimization
We always say, get it done, get it right, optimize
later.

Usually later never comes.

Sometimes it is sooner than you think.

I wrote a census apply program. It takes census
data and appends it to data, based on geocode or
zip code, whatever is available.

It was REALLY slow. It was using a indexed lookups
pulling data from disk. The census data is huge, about
4K. It takes a long time to pull the data and append
it as the user data flows through.

But is was fast enough. It took the load off the
mainframe and was faster than if the mainframe did
it, so everyone was happy. Except me. I KNEW I
could do a lot better.

And then disaster struck. The array I developed it
on lost 9 disks at once. Failed channel. And the
reconstruction effort really fried them. One of the
LUNs depended on 2 of the disks, so the LUN was GONE.
The volume that was being used striped 4 LUNs to
create a terrabyte file system. So it went bye-bye.

I'm not the sysadmin. I'm not in the systems group.
I'm not supposed to take any time to backup my own
stuff.

And of course, this particular TB was NOT in the
backup system. It was for development, so it did
not fall in the stringent backup schedule, more like:

Hey, backup my stuff this weekend, ok?

I have a nightly backup process that runs, copying all
my development directories into a file, bzipping it,
and copy it to another system.

But my census code was NOT it that either. I had
placed it outside my development tree in preparation
for handing it to another coder. Silly me.

ARRGG!!!

So I could consider this an opportunity. Make it better,
faster.

I threw away the original indexed Perl based design.
I stepped in the way back machine and used pure flat file
extract, sorts, and key joins using Syncsort.

I am often amazed by the speed of Syncsort. I typically
do not use it for flat file processing. I don't like
depending on commercial utilities that expire. It will
cost me in a few months to renew the license. But I'd
renew anyway, I'm just becoming more dependant on it.

The new process is about 20 times faster than the old one.
Test cases that took 10 hours now run in 30 minutes.
It's worth it.
New And here I was starting to think I was the only one
...actually doing practical code development anymore on this board. :D Glad to hear the story and how you took advantage of it.
New Define practical?
I'd say you are inviting some flames with that remark.

It also could be that much of is discussed here is in areas that I can't
contribute so I stay out of it. Or of such a nubie level that I
would just drop in a condenscending remark, so I think
better of it and not post at all. It is rare that I will try to help a nubie since
it usually takes 10 exchanges to identify the level of understanding they
are at, which is just too damn exhausting for me. Or so far over my head
when mathematics is discussed that I'd be an idiot to try
to participate. Or in a language I don't understand.

So here we have a litany of reasons why you would get
very little participation in these type of discussions since they
are so detail focused, which excludes the majority of
people from being involved, even other "practical" programmers.
Expand Edited by broomberg Sept. 14, 2003, 04:44:36 PM EDT
New Heh -- didn't mean anything derogatory
I was just noticing most of our discussion in the "theory and practice of programming" forum tends to be theory. Your story was a welcome difference. I agree that such content tends to produce short threads ("very little participation"), but that doesn't mean they're somehow less enjoyable.
"There's a set of rules that anything that was in the world when you were born is normal and natural. Anything invented between when you were 15 and 35 is new and revolutionary and exciting, and you'll probably get a career in it. Anything invented after you're 35 is against the natural order of things."

Douglas Adams
New OK.
Reasonable explanation.
New Not by a long shot.
Like Barry says, there's lots I can't answer to as I don't know the language or the situation. And then when I do post, it's mildly frustrating that I have to leave out so many details about my work...

Wade.

Is it enough to love
Is it enough to breathe
Somebody rip my heart out
And leave me here to bleed
 
Is it enough to die
Somebody save my life
I'd rather be Anything but Ordinary
Please

-- "Anything but Ordinary" by Avril Lavigne.

     Forced optimization - (broomberg) - (5)
         And here I was starting to think I was the only one - (FuManChu) - (4)
             Define practical? - (broomberg) - (2)
                 Heh -- didn't mean anything derogatory - (FuManChu) - (1)
                     OK. - (broomberg)
             Not by a long shot. - (static)

God help us when the effects of "switch" are toted up.
79 ms