how to solve website latency problems

Discussion in 'Off-Topic Forum' started by clubrope, Oct 20, 2016.

  1. clubrope

    clubrope Member

    Joined:
    Dec 30, 2013
    Messages:
    120
    Likes Received:
    27
    Trophy Points:
    18
    Does optimizing a websites and applications have an enormous effect on the latency experienced by the user? Is it also true hosting infrastructure decisions and server configuration can also dramatically reduce latency?

    How do you reduce latency and speed up content delivery? If you have any ideas on how to solve website latency problems faster, please share it with me. I would greatly appreciate it. thanks!
     
  2. Sondra Draper

    Sondra Draper Member

    Joined:
    Feb 16, 2015
    Messages:
    63
    Likes Received:
    13
    Trophy Points:
    8
    Apparently yes! an optimization and server configuration can reduce high latency issues and can fix lag. About solving it easily, there's a powerful tool that can help you to monitor and keep track who is responsible and operating into your website. In that case, it could help solve the problem and makes the sites function properly.
     
  3. Calliers

    Calliers Just got off the hedonic treadmill... Staff Member

    Joined:
    Oct 12, 2004
    Messages:
    44,289
    Likes Received:
    2,895
    Trophy Points:
    139
    @Mousey Mousey, here mousey mousey mousey...
     
  4. Mousey

    Mousey HH's Official Rodent

    Joined:
    Jan 13, 2007
    Messages:
    7,903
    Likes Received:
    510
    Trophy Points:
    138
    The first thing to look at would be caching, Unfortunately i can't provide any details on how to implement it for your specific situation since you haven't given us any information, like at all.

    We need to know more like where your server is located in the world, Hardware specs for it, Type of hosting (vps/shared/dedi etc), what application(s) you're running (eg wordpress, in which case i'd say nuke it and start again because wordpress is cancer), etc

    The next thing to look at would be concatenating and minifying your existing CSS + JavaScript files, Have a look into Gulp or Grunt for this, they're Javascript task runners you can configure to run jobs like CSSNano and Uglify which will create a single CSS/JS file that has the contents of every other CSS/JS file because 1 request to the server is always faster than 8/10/500 requests (until we get HTTP/2 that is)

    "Optimisation" is a very broad term, There's no single answer for it.

    Server Infrastructure does play a part to a certain degree, if you're building an application that has millions of concurrent users (ie. Facebook) then yes your server infrastructure suddenly becomes an extremely important part of the decision but for the other 99% of us mere mortals running our own web applications the only things that really matter are what kind of uptime can you expect from the provider, how much failover/redundancy is in place in the event of shit hitting the fan, and the speed of the internet connection they have in their data center.

    Another thing to look at would be checking your database queries, Expensive queries that return a metric fuck ton of information almost always have stuff in them you can trim out to reduce the load a bit.
     

Share This Page

visited