• 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 929 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 (24.3K 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

  • Four Foolproof Tips To Never Run Out Of Blog Ideas For Your Website March 28, 2023
  • The Interactive Entertainment Serving as a Tech Proving Ground March 28, 2023
  • Is it Good to Run Apache Web server and MySQL Database on Separate Cloud Servers? March 27, 2023
  • Advantages of Cloud Server Over Dedicated Server for Hosting WordPress March 26, 2023
  • Get Audiophile-Grade Music on Your Smartphone March 25, 2023

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, March 29, 2023, https://thecustomizewindows.com/2014/10/reduce-time-first-byte-ttfb-cloud-server/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

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

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

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
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