• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Reduce Time To First Byte (TTFB) on Cloud Server

By Abhishek Ghosh October 6, 2014 10:39 am Updated on October 6, 2014

Reduce Time To First Byte (TTFB) on Cloud Server

Advertisement

It is Possible To Reduce Time To First Byte (TTFB), regardless of the web software or cms like WordPress, Joomla, Magento etc. used to create and maintain content on Cloud Server if You Know Which Components Determines This Time To First Byte (TTFB). Previously, we have discussed about Time To First Byte (TTFB). Some more information Here.

 

Know What Determines The Value Before Trying To Reduce Time To First Byte (TTFB) on Cloud Server

 

If your Time To First Byte (TTFB) is 15000 ms, you can not expect the page to rank first on Google’s SERP. There are lot hypothesis are given that Time To First Byte (TTFB) has no impact, but actually all the good websites have very low TTFB. There are meaningless conversations like :

Vim
1
https://wordpress.org/support/topic/how-to-reduce-time-to-first-byte-on-my-wordpress-site

8.5 Second is only the Time To First Byte (TTFB). If you test Facebook, Google, Twitter etc. website’s almost always the TTFB is very low – lower than ours (median 350 ms), hardly half of our value. Where we have the wrongs or rather what are the determining factors which can significantly reduce Time To First Byte (TTFB) on Cloud Server?. We are talking in the context of HTTP 2.0, SPDY (pronounced as speedy and CORS. If you open this webpage on slow bandwidth, older operating system, browser not supporting HTTPS Preloading, text will appear first but with 1 mbps connection with Chrome, it will appear as if instantaneously. That is what dependent on Cipher Suite. On cloud platform, other than we discussed before, three are determining factors :

Advertisement

---

 

  1. Time to process the request through the network to the front end web server – so, front end server must have shiny SSD disks, good networking. That is what Rackspace marks as Performance 1, 2, 3 and PVHVM.
  2. Backend process to generate the response, which practically can be reduced by various types of caching.
  3. Time taken for the response to get back to your browser, which is again to some extent part of point 1.

 

We performed a test with under powered one server setup against this website :

Vim
1
http://scans.zoompf.com/s/5b44f0e874f7fb36c19666c6742b493a/report.html

Softwares used were same. But the rating went very poor. Underpowered means, it was Rackspace Performance 1 one 2 GB PVHVM Ubuntu server with Nginx, WordPress and W3TC. With a weak for the purpose server can not give the right response – it will tend to hang. There are measurements of this aspect (we discussed them before). Horizontal scaling can solve this issue and decrease the TTFB to quite lower value, after a point, it will not get reduced, you need to use your own formula or someone else’s formula, like Facebook uses this :

Vim
1
https://github.com/facebook/hhvm/wiki

So, the work starts at the level of Virtualization.

Reduce Time To First Byte (TTFB) on Cloud Server

 

Practical Way to Reduce Time To First Byte (TTFB) on Cloud Server

 

It is not possible for everyone to have an excellent backend, however with WordPress like PHP-MySQL based web softwares, these are good practice :

 

  1. Use at minimum 2 servers – one application server and one web server
  2. Web server can have the content on a faster disk for better I/O
  3. If point 2 is followed, the application server with InnoDB engine can cache database requests on Web Server. It avoids the direct load on application server.
  4. Nginx for sure performs better for SPDY
  5. Use LuaJIT to configure Nginx. This webpage loaded asynchronously (not deferred)
  6. The proper arrangement of DOM elements matter much
  7. Forget about adding Google Plus One, Facebook Like, Pinterest Buttons
  8. W3 Total Cache only a practical Cache for Nginx
  9. As Caching takes time and when we Publish our Posts, all are flushed, may be it is better to use multiple WordPress instances – it is quite frequently done for the larger websites. Old webpages do not require to be flushed so often, 4-6 hourly.
  10. WordPress plugin’s logical conflict can increase the TTFB. It happens in the blocks where we can not Cache – be it fragment cache, XCache or simple W3TC’s methods like for Ad blocks.
  11. If Ad Server matches your web server configuration closely, it will not affect the TTFB. Google Ads serves the Ads in full asynchronous way.
  12. CDN is important, but sometimes some content needs to be served from own server like Icon Fonts.
  13. You can not have the same TTFB worldwide, Geotarget your visitors.
  14. Forum, ideally should not hosted on the same server.
  15. Backend optimization is most important for TTFB. A Grade A host will optimize for you.
  16. If you run server on your GNU Linux machine or Mac and test with your tools on the same machine, TTFB will be lower. Now imagine the cables are running under the oceans. If this website was for Kolkata, West Bengal; we had to load balance and logically serve a subdomain like `ww2.thecustomizewindows.com’ from London Datacenter.
  17. TTFB is important for Commercial websites, old method of load balancing per region should be done.
Tagged With ttfb too long azure , time to first byte azure wordpress , the first-byte time wordpress azure , reduce ttfb , reduce time to first byte wordpress , reduce time to first byte , reduce page load time wordpress , How to minimize Time to First Byte in ASP NET , azure reduce ttfb , azure first time to byte awful

This Article Has Been Shared 498 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Reduce Time To First Byte (TTFB) on Cloud Server

  • Cloud and SaaS : Is Cloud Based SaaS Becoming the Mainstream ?

    Cloud Computing is becoming the dominant global trend not only in enterprise IT but also in Private Small Sectors. Better,faster,cheaper is pushing Cloud ahead.

  • Juju on Rackspace Cloud Server : Test Drive with Ubuntu 12.04

    Juju on Rackspace Cloud Server is a test drive in real time. It is some what like driving a F1 car on a busy avenue for the first time in life. Start the Cloud. And the ride is too without wearing helmet – on an Operating System without any smartness – Windows 7 with PuTTY. […]

  • SaaS : Everything You Wanted To Know

    SaaS or Software as a Service is designed by the architecture to be used by the consumer. SaaS is the model oCloud which the general users mostly know to exist.

  • Cloud Computing Grown as There Was Real Demand From The Customers

    Cloud Computing grown as there was a clear cut demand from the consumer. Most users who cares for quality, actually went mad with the traditional web hosts. The crap graphics of cPanel, increasing bill for Virtual Private Server and Dedicated server, “your problem you will solve” type of mentality, usage of worst possible hardwares, all […]

  • Dynamic Cloud Enterprise Content Management Strategy

    Companies need dynamic Cloud Enterprise Content Management strategy developed to combine collection, retention and use of business documents.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (22.1K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • The Cost of Doing Business as a Handyman July 1, 2022
  • Samsung Galaxy S22 Ultra: Long Term Review June 30, 2022
  • How to Make the Most of Your S Pen (S22 Ultra) June 29, 2022
  • Safe Chargers for Samsung Galaxy S22 Ultra June 27, 2022
  • How Telecoms Can Use The Cloud To Power Their 5G Network June 24, 2022

About This Article

Cite this article as: Abhishek Ghosh, "Reduce Time To First Byte (TTFB) on Cloud Server," in The Customize Windows, October 6, 2014, July 2, 2022, https://thecustomizewindows.com/2014/10/reduce-time-first-byte-ttfb-cloud-server/.

Source:The Customize Windows, JiMA.in

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Privacy Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2022 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy