Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
One other thing you can do is look at your weblog stats and see what pages get it the most, you usually can get away just building a few static pages (initial site drop in and main sections) to achieve a substantial performance increase. Building all of the pages as static on a schedule can actually decrease performance if you have a lot of dynamic pages that do not get used frequently.

If you must build the entire site statically and there will be 15k html pages, it may make sense to make a logical tree so stats on the files do not take as long. if you split those files up into 100 -> 1000 file/directories you should see a nice performance boost on stat (on most filesystems).

After all is said and done, think carefully about doing this, by statically building pages you lose the ability to customize based on login/region/etc -- static is by definition not dynamic. =)

You may also want to take a look at mod_perl and some of the DB caching modules out there -- you may be able to squeeze more performance out of your box that way as well.


-Waswas

In reply to Re: web-app design question by waswas-fng
in thread web-app design question by waxmop

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-24 04:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found