Keeping Your Applications Trim And Healthy

Hotchpotch 22 Feb 2013
Keeping Your Applications Trim And Healthy

We all are living in an era of “Health cautiousness”. Gone are the days when people use to drink Ghee (a liquefied butter), and prosperity of a nation was measured by abundance of milk and butter. Today we are weight-cholesterol-blood pressure-stroke-diabetes-heart-attack aware. A round belly is no more regarded as a sign of prosperity. Slim body is no more identified with poverty. We do workouts, take walks, dance, do aerobics, and play games to burn calories and keep our weight in check.

But what do we do to keep our application from becoming bulky and lethargic?

Tips for Keeping Apps Light and Fast

1. Watch your weight – Watch your footprint

In this multi terra-byte world, probably we do not care about footprint. However, a small footprint means more space for data and probably speedier processing in identical environment.

What can be done to keep the footprint small?

  • Remove unnecessary files not being used by system
  • Do not keep more than one copy of the programs.
  • Remove backup files.
  • If necessary, compress images to a higher compression (taking care of quality).
  • If there is video, use an efficient codec to keep its size small.

2. Watch your hunger – watch your RAM need

In shared hosted environment, memory is at a premium. If we use it efficiently, system will perform faster with same setup.

  • Third party add-ons to systems like Magento, Joomla, Drupal should be used carefully as these may eat a lot of precious RAM.
  • Also, too many images will increase Ram usage.
  • Most new versions of software have higher memory requirements, be aware of that. I am not saying to use older versions of software, but if shared hosting environment demands, you may have to do just that.

3. Run 100 meters in under 10 seconds – keep your code efficient

An inefficient query can increase execution time exponentially (several folds). A logical error can make your system crawl. There was a time when we use to code in C and C++, a few different sets of codes for same problem, compile and run with time command to see which was more efficient. Today we have automated tools like query analyzers and performance tester software. Efficient programming was always a matter of good programming habits, and will always remain that way.

 A healthy body gives you energy to work. A healthy-efficient project can bring the following benefits:

  • For websites a visitor may navigate away if the response time is not good. To keep him interested, it is mandatory to have slim and trim and fast code coupled with efficient architecture.
  • For applications, it may mean better user experience, more efficient service to “their customers.” More importantly, it reduces the carbon print of the application. An efficient application will save energy in two ways

4. Reduce the “On time” of computer being used

Reduce the CPU utilization thereby reducing the energy consumption of the machine (and prolong the life of CPU too).

So let us all pledge to ourselves for the sake of society, for the sake of the company we are working for, for the customers and above all for ourselves – we will not write and/or accept inefficient code.

    'No new videos.'
← What Qualities, as an Offshore IT Company, You will Need to Secure Getting Projects in Future? Challenges in Mobile Application Development →

About the author´s Group

Black And White
Black And White

They are very basic and driven by fundamentals. Many think that they are on MoWeble just for the sake of courtesy but they prove it wrong by drawing everybody’s attention through their impeccable writing style and to-the-point approach.


	

4 Comments

  1. cabal online guide dungeon
    January 30, 2013 at 6:27 pm

    I’ll right away grab your rss feed as I can not to find your email subscription link or e-newsletter service. Do you have any? Please let me recognize in order that I may just subscribe. Thanks.


    • Maulik Vyas
      Maulik Vyas
      January 31, 2013 at 4:14 am

      @Cabal -You may subscribe to this blog. The button is at top right corner. The URL is: www.moweble.com/feed

      Regards


  2. Bazar Gorj Free Directory Listing
    January 30, 2013 at 6:32 pm

    Wow, incredible weblog layout! How long have you ever been running a blog for? you made running a blog look easy. The full look of your web site is wonderful, as smartly as} the content material! I’m listing this for free!!!


    • Maulik Vyas
      Maulik Vyas
      January 31, 2013 at 4:14 am

      @Bazar…That’s wonderful. Thanks for the listing!


Leave A Reply