Why is code optimization important?

I decided to expand on my last post a little bit. Code optimization is a very important and sometimes the most important thing. It’s not important , because it looks great to have a well written code, but it’s good to know, that your web site is very efficient in the way it works and uses the system resources it has at it’s disposal!

I know this my template at Icthunder.net is not the best optimized and it would not pass a code validation, but it works and it is not that crucial as it’s only the look of the web site. And the look is still pretty good even it did not pass the validation. It’s not that the code is badly written, but the plug-ins make the whole validation process and it’s not valid at the end :)

Code optimization matters?

Well, YES and it’s a big YES. It’s always great to have a very well optimized web site. If you are using your own engine and not a content management system or a blog platform, than  it’s very important to have a very well written application. It helps you with your life at your host as you are not in the middle of your hosts attention for system resources over-usage ;) You need to be able to code the app in such a way, that it does not consume too much of anything else you will need to think about a VPS or a dedicated server.

The shared hosting environment is not build to accommodate one  heavy application on one server with hundreds of web sites. You could get into trouble very quickly. Be warned! And always try to check with your host if they are happy with your application and the resources it is using!

Ask before to limit problems

That’s the golden rule of this article. It’s always better to ask your host before you actually deploy an own app. You will save a lot headache and possible money by asking beforehand ;)

Image: Francesco Marino / FreeDigitalPhotos.net

No related posts.

, ,

2 Responses to Why is code optimization important?

  1. JOjo May 14, 2010 at 10:54 pm #

    Nice Post!
    It’s also good to use accelerators, such as eAccelerator for PHP.
    It helped me a lot with my vps.

    BTW; Nice blog, greetings from Chile :)

    • Icethunder May 15, 2010 at 2:17 pm #

      Thanks :)

Get Adobe Flash playerPlugin by wpburn.com wordpress themes