in reply to Running a program off a CD

I have a program ... which helps customers to find the right product for them and has all kinds of specs... the program stalls while the CD-ROM spins back up.

There's good advice above about pre-caching modules. If, however, the problem is loading data off of the CD, then you might have another option:

The benefit of this scheme is that data is alway fresh. You don't have to send new CDs to customers each time your specs change. There will be a slight delay (which you can mitigate by caching data).

Then again, you might benefit from trying to slurp all of your data into RAM at startup.

Replies are listed 'Best First'.
Re: Re: Running a program off a CD
by metlhed_ (Beadle) on Aug 14, 2002 at 17:28 UTC
    If you can require that customers have a net connection, get fresh data via HTPP request

    Alot of the people using this CD will be out in the field and don't have access to a net connection. We may do something like that for updates but cannot require it to run the CD.

    I have the program get 90% of what it needs off the CD at the startup now. It is running through all but 1 of the menus without having to spin up. The last menu uses a directory structure that is over 400 directories so I don't think there is too much I can do about that.

    I would like to thank all of you for your help.