Skip to main content

How Hacker News Crushed David Walsh Blog

Earlier this month, David’s heartfelt posting about leaving Mozilla made the front page of Hacker News. Traffic increased by 800% to his already-busy website, which slowed and eventually failed under the pressure. Request Metrics monitors performance and uptime for David’s blog, and our metrics tell an interesting story. Here’s what happened, why, and what you can do to prepare your site for traffic surges.

DavidWalsh.name Technology

David’s site uses WordPress. It serves most content from a MySQL database, which is a well-known performance limitation. To mitigate this, David uses Cloudflare to cache the content of the site and reduce the load to his server.

Cloudflare does this by taking control of DNS and routing requests through their edge network before calling your server. When possible, Cloudflare will return cached content rather than needing to call your server at all, which is particularly useful when request volume goes way up.

Check Full Content Here […]



from Proven Ways https://ift.tt/3mLO6sf

Comments

Popular posts from this blog

Awesome Forward & Reverse Geocoding API: positionstack (Sponsored)

One awesome web functionality we take for granted is geolocation. Based on geolocation data, we can get someone to their destination, provide them suggestions based on their location, and so on. One downside of native geolocation, especially in the browser, is that it’s limited in both input and output. That’s where an awesome service like positionstack comes in — positionstack allows developers to complete forward and reverse geocoding to get maximum data to maximize conversion and functionality. Quick Hits positionstack is free to join! Provides both forward and reverse geolocation, for embeddable maps and more The API is simple and easy to use Code samples provided in a variety of languages like PHP, Ruby, Node. Check Full Content Here […] from Proven Ways https://ift.tt/2UCBNUv

How to Set a Default Commit Message

Having a default commit message is really useful for a number of reasons: It can formalize your commit messages It serves as a good reminder for the information you should add to your commit message, like issue number If you set it to “Drunk AF, don’t accept this” To set a default commit message on your local machine, start by executing the following from command line: git config --global commit.template ~/.gitmessage This tells your local git config to pull the text from ~/.gitmessage as the default commit message. Check Full Content Here […] from Proven Ways https://ift.tt/2Tkqgbr

5 Most Common Developer Portfolio Mistakes (Sponsored)

A portfolio site is one of the best marketing and sales tools you as a web developer have in your arsenal. And if it’s set up right, it’ll save you a bunch of time having to:  Chase down new clients,  Spend time convincing them to work with you, Answer questions about your experience as a coder and what you can build, Explain your background and how you got into web development, Handle other repetitive and tedious sales and marketing tasks.  The emphasis here is on setting up your portfolio site the right way.  Your portfolio site — as a whole — needs to be a reflection of your best self. To accomplish this, you’ll want to steer clear of the 5 most common developer portfolio mistakes.  Just keep in mind that this doesn’t have to end up being a ton of additional work. With one of Be’s pre-built portfolio sites, you can quickly create your portfolio powerhouse. Check Full Content Here […] from Proven Ways https://ift.tt/3hACgP0