Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Speeding up commercial Web applications

by AssFace (Pilgrim)
on May 08, 2003 at 16:40 UTC ( [id://256593]=note: print w/replies, xml ) Need Help??


in reply to Speeding up commercial Web applications

Also make note of how much of your code really needs to be dynamic. I don't know what your app does - but if the data that it is yanking from the DB isn't changing that much over time, then you can create static pages that will obviously be far faster and put less of a load on the server.

This is worthless in some environments where every query is different, or where the data is changing every 2 seconds.

But if by chance your app is something where the data is slow to change over time, you can have scripts create static pages every morning when the load on the server is slow - then let the users navigate the static pages.
Good if your users come in to look at data briefly and rarely (once a day and the data hasn't changed since yesterday).
Lousy if users are using the app all day long, and every page that they load involves more data being changed and requiring more updates.


Of all the web apps that I've worked on and/or written, there are some that looking back on it, we could/should have done that - and then there are many on the other hand that can't ever do that b/c it just won't fit in the environment.
I'm curious as to what your app does

-------------------------------------------------------------------
There are some odd things afoot now, in the Villa Straylight.
  • Comment on Re: Speeding up commercial Web applications

Replies are listed 'Best First'.
Re: Speeding up commercial Web applications
by PotPieMan (Hermit) on May 08, 2003 at 18:31 UTC
    I did not disclose the problem domain because I did not want to harm the company we purchased the product from.

    Thanks for the suggestion on serving static pages. It's an angle I hadn't really considered before. We could probably come to a compromise on the frequency of page updates, like once every 30 minutes.

    Update: Clarified wording about the problem domain.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://256593]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-23 17:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found