Skip to content
  • Home
  • Search
  • Tools
  • About
  • Terms of Service Agreement
  • Log In
  • Guest

WEB: Site Performance – At Least a Quadruped Beast

Posted on August 30, 2020January 21, 2021 By Andre Dias
software engeneering

 

Table of Contents

    • Maintaining website performance is like working with a quadruped beast.
    • If just one leg fails, your site goes down.
  • When Is It Time to Think About Performance?
    • How do I measure a page size?
  • The 4-factors Performance Issues (at least)
  • Checking Performance

Maintaining website performance is like working with a quadruped beast.

If just one leg fails, your site goes down.

 

 

When Is It Time to Think About Performance?

I usually think about performance when I access a site that has a heavy page, but heavy is not a good measure since it leads to the doubt “how much heavy”.

I usually make the test performance with pages having sizes of around 5 MB.
If it loads slowly enough to make you avoid using it, it is time to consider thinking about performance.

Although time is a subjective measure, comparing by the average navigation time, it is good enough for me.

Fixing a loading time may be an alternative for the sake of better precision. On the web, you may get many opinions.

How do I measure a page size?

A simple method is to download the page using the browser’s “Save as..” option.
After the download, you check the size of the file of files downloaded.

 

 

The 4-factors Performance Issues (at least)

Most of the time, when judging a site performance we first think about connection speed and techs behind it.
This approach leads to severe mistakes.

We must go, at least, through all the 4-factors performance issues:

  1. Technology usage – the way things are done.
    Language: Java, JavaScript, Ruby, etc. and their frameworks.
    Database: Oracle, MongoDB, etc. ; concurrency, locks; etc.
    Project architecture — the way things are done, for instance too many layers, heavy objects running everywhere, memory consumption, memory swap, etc.
    Software update — Do you have the last versions?
    .
  2. Connection speed, throughput, concurrency, protocol, etc.
    .
  3. Data traffic generation — The way the content is handled.
    Things like images’ size and format, pagination, data size downloaded for each hit, synchronicity/asynchronicity, cache, etc.
    .
  4. Client’s and Servers’ Hardware.
    How much memory do have a client and the server on the two sides of the connection?
    Their CPU architecture like speed, cache channels, parallelism, bus, etc.
    An easy way to check all this is making the following question:
    How old is the hardware?
    This question is usually ignored.

 

Checking Performance

This is a huge subject.
We may write many books about this.

My fast approach for “real life” follows the list below, following the order.
First I need to care about the techs to be used and how the project is constructed.
Satisfied this, the next step (2) is to check how things work when running.

The 3rd step considers the heaviest requests that are possible for the application.
Well, if you’ve got low performance on 2nd step, this step has no sense at all.

The 4th step is one that is most of the time forgotten or ignored.
We are used to working on our machines but the time goes on, making things older and less powerful.

Consider that the browser nowadays has too much more processing since the web specifications increased tremendously.
Client processing is much more intense than before when first came the idea to move part of the task to the clients.
Old clients are slow.

Before fricking out, consider how old is the hardware used to test, and please perform a test using  up to date hardware.
Perform the test suggested at the beginning of this post accessing heavy pages (size about 5 MB).

Consider the following requirements for the time I’ve published this post at Ago, 2020:

  • CPU
    Minimum i7 8th generation.
  • Memory
    Minimum 16 GB (check their speed)
  • Mass storage
    Minimum: SSD for running O.S. processes and possibly mechanical HDs for the rest.

Think that new techs require new hardware.
It doesn’t make sense to project a new technology restraining it by the old requirements, does it?
It may keep compatibility but it may not lose power because of the new works with the most present and the future.

Old i5 and i7 machines, 8 GB RAM memory vs. mechanical HDs, are now too slow for a “fast approach”.

You’ll be amazed at how heavy sites become wonderful ones when using recent hardware, just because we forget that the time doesn’t stop requiring hardware update.
New features are constantly added making much more but requiring much, much more.

“With great power comes great responsibility”

Well, we also may think as:

“With great power comes great demand” 

 

 

 

Andre Dias
Andre Dias

Brazilian system analyst graduated by UNESA (University Estácio de Sá – Rio de Janeiro). Geek by heart.

Post navigation

❮ Previous Post: VAIO: VPCF1 DISASSEMBLING
Next Post: GIT: I do love Git stash – Super hero when things go wrong ❯

Search

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Filter by Categories
angular
bootstrap
browser
computer science
container
data persistence
database
devops
editors
hardware
health
hosting
info
internet
it
java
javascript
network
node.js
play
protocol
security
self-help
selfhelp
server
services
soft
software engeneering
sql
support
Systems
techs
Uncategorized
versioning
web
web design
windows
wordpress

Recent Posts

  • Angular From Scratch Tutorial – Step 9: Modal
  • Angular From Scratch Tutorial – Step 8: Miscellany
  • Angular From Scratch Tutorial – Index
  • angular: Reading JSON files
  • NODE.JS: SEQUELIZE: MVC Project – 4TH STEP

Categories

  • angular (19)
  • bootstrap (6)
  • browser (4)
  • computer science (4)
  • container (1)
  • data persistence (2)
  • database (11)
  • devops (1)
  • editors (1)
  • hardware (4)
  • health (2)
  • hosting (1)
  • info (1)
  • internet (2)
  • it (1)
  • java (13)
  • javascript (32)
  • network (6)
  • node.js (1)
  • play (1)
  • protocol (1)
  • security (4)
  • self-help (1)
  • selfhelp (1)
  • server (2)
  • services (1)
  • soft (1)
  • software engeneering (1)
  • sql (1)
  • support (2)
  • Systems (1)
  • techs (3)
  • Uncategorized (2)
  • versioning (6)
  • web (1)
  • web design (5)
  • windows (3)
  • wordpress (4)

Copyright © 2025 .

Theme: Oceanly by ScriptsTown

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT