Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6334965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:45:45+00:00 2026-05-24T18:45:45+00:00

Well, to be specific, I’m running my own content management system running on Linux

  • 0

Well, to be specific, I’m running my own content management system running on Linux Apache2 MySQL PHP server. The system is comparable to Linux kernel w/ modules.

–(request start)–

The system launches his “init” script that takes care of dependency-based module loading (only minimum modules are loaded, in proper order, so it “just works”, but nothing else (disabled/unused modules are not loaded)).

Once the system is ready, request processing comes in – all the data gets loaded, parsed, processed, buffered, chewed and so on, until we have a complete (x)HTML page.

–(request end)–

Once the request is processed, the data are passed to browser and the system is killed. All this happens in a very short time, but the most cpu-intensive is the beginning part (preparating system for use).


I have a few options:

  1. Let system be in a way it’s now (and risk performance issues after it’s deployed for REAL usage (approx. 100-500 requests/s per system))
  2. Do some kind of preloading (preparing the system manually and not let anything magic happen then)
  3. Find a way to keep the system in ready-for-use state (all modules loaded, classes initialized, ready MySQL link, etc.)

Question is:

  • Is there a way to accomplish point 3? (point 2 is what I want the least)
  • If it’s possible, how?

Thanks for any advices that’ll point me right way!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T18:45:46+00:00Added an answer on May 24, 2026 at 6:45 pm

    Probably what you need is PHP APC, eAccelerator or some other extension that parses your code and keeps it as byte-code in the memory, which for CPU hungry situations can help your performance a LOT. It seems that you have the knowledge to setup such extension, I would recommend you the “APC” being the most used and tested one out there:

    http://en.wikipedia.org/wiki/List_of_PHP_accelerators

    Edit: For MySQL I would go with using “persistent connection” which might help as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using a specific command in in my C# code, which works well.
Well this probably isn't specific to rails, but in my rails app, I have
I maintain a number of load balanced web servers running Windows Server 2003. Today
Other than specific projects (although those are welcome as well)... What tools, books, articles,
I have an Blackberry library written using JAVA as well Blackberry(RIM) specific API's. I
Well, i know the title isn't very specific, but i couldn't find a better
Well, I've been looking around and can't find a specific way to actually DISPLAY
Well, by means of historical session, we can query an object at a specific
That's probably not MVC specific, it might as well applicable to ASP.NET WebForms, but
I have an html page that is printed pretty well thanks to print specific

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.