At Moment Of Post Europe Was Just Waking Up Us West-Coast Was Just Preparing To Bed (10: Olino

 slashdot effect 12 online percent consumers use RSS feeds in the apartments and in tooffice. By submitting my Email address I confirm that I have read and accepted Terms of Use and Declaration of Consent. I won’t be able to see logic here. For instance, sheer growth of Slashdot unique visitors and page views negates this theory.

Article also suggests that growing number of tech news sites is another reason that Slashdot Effect is diminishing. Value isn’t ain’t shown.

Tip of Apache is to divide available quantity of memory for Apache by quantity of memory used in Top by a single Apache thread.

Our Apache thread uses between to’1620MB’ per thread. 1024 MB reserved for Apache / 20MB per Apache thread ~ 50 MaxClients. Remember, it seems we need to reduce the amount of MaxClients from 150 to 50 for our Apache configuration. Setting this value in the course of the peak response time went sky high, as already seen in graph above.

Result is perfect storm completely overloading web server.

Now, an explanation gonna be that at identical time, Europeans take a lunch break and east coast of USA awakens. Impact of Slashdot effect is clearly visible in response time of web server. Then again, look, there’s an ideal document about Apache Performance Tuning on website of Apache. Generally, amongst to first tips is to check MaxClients option. Our Apache webserver isn’t tuned for performance. I am sure that the current setting is Setting this value must result in error in tolog. So, that’s a first step we can take. With all that said… Therefore the Slashdot Effect can be perceived when any large Web site posts a high interest, widely publicized story about another site. Then the effect is obviously a lot more noticeable on smaller sites and surge in traffic sometimes will slow a site down or make it impossible to reach. Therefore, increasingly about any technologyrelated subject, effect gets its name from Slashdot Web site, a discussion forum originally about Linux and related software.

 slashdot effect Accordingly the Slashdot Effect is tosudden, relatively temporary surge in traffic to a Web site that occurs when a high traffic Web site and akin source posts a story that refers visitors to another Web site.

Response time of website is monitored by a global monitoring network service of Pingdom.

Notification is send when server is unavailable. With an interval of 5 minutes response time of website is measured from different locations. That’s interesting. They have probe servers which are located in toUSA, Canada, UK, Sweden and France. Therefore this should not be tobottleneck. In the course of the peak we got 2320 visitors per hour. Then, this calculates back to 590 KB/s of continuous traffic. With 914 KB, webpage is quite large. So this generates 914 KB x 2320 = 2 GB per hour of data traffic. Looking at details reveals that user processes is only taking 30percent CPU usage and processor is still 16 dot 4 idle. Server load snapshot taken at 08 dot 35AM is a clear indicator server is overloaded. ‘auto scaling’ will stop most of to running instances, when load drops again as visitors are gone.

 slashdot effect So this makes sense, as with Amazon EC2, you only pay for running instances per hour.

This makes it possible to start / stop instances on the basis of load of a number of instances using a voting mechanism.

With that said, this could be very effective for surviving slashdot effect. So loadbalancer will balance load over running web server instances. There’s a lot more information about it here. ‘auto scaling’ could start up more instances to handle increased load, when there’s a huge peak in visitors. Gether with announcement of Amazon for their loadbalancer solution they announced a feature called auto scaling. At 08 dot 35AM server load was already increased to 27, a clear indication that server is already overloaded.

 slashdot effect Whenever using Linux p command, is all about 3 during normal traffic, whenever first group of visitors came to towebsite. With that said, this instance has 7 memory GB, 1 EC2 Compute Unit, 160 GB of instance storage, ’32 bit’ platform. One EC2 Compute Unit provides equivalent CPU capacity of a 02 GHz 2007 Opteron or 2007 Xeon processor. Instance is running in us east 1b datacenter of Amazon. Did you know that the OliNo website is using a small instance type. So that’s a cool article and I have posted a link to my twitter account. You can take a glance at my very own ol CloudBerry Explorer that helps to manage S3 and CloudFront.

I will also refer my customers to your AWS experience. Undoubtedly it’s a freeware. Let start a civilization which provides for its energy using renewable energy. And so it’s a combination of two Catalan words.Oli and No. Our organisation will contribute to reach this goal. We found an appropriate name for our organisation, OliNo, that is a word joke for No Oil! Gether they mean Oil No! Theoretically this cache module most possibly will handle this smoothly. Just think for a moment. I had already done tests with it and it seems to improve performance significantly when reloading really similar page multiple times. Considering above said. We never had tested it under Slashdot effect conditions, where thousands of users simultaneous need to access similar webpage on towebsite.

We use WordPress as blogging software.

We use WP Super Cache plugin.

Amidst to first thing you read about improving performance of WordPress is to use caching. Within one hour, therefore this number climbed to more than 1000 visitors. So this effect was clearly visible on worldmap of google analytics. This is tocase. At moment of topost, Europe was just waking up, US westcoast was just intending to bed and US east coast was still sleeping. Eventually, normally this still young Renewable Energy website gets around 100 visitors per day. I am wondering if it is worth effort with new WordPress 8 already announced where plenty of there problems will be solved automatically. Basically, with some having their own Javascript files, now this would mean we need to do loads of customizing, as we use a bunch of WordPress plugins.

Another question isSo question is this. What about Javascript from Google?

Is it allowed and does it work?

Does it make sense, to take these scripts and combine them with your personal Javascripts to improve performance? Is it faster to keep them on to they are already in browsers cache of visitor because Google servers? With that said, we use Google Javascripts for showing Ads with Google Adsense and monitoring traffic using Google Analytics. Then, OliNo website is hosted in Amazon Elastic Computer Cloud. You also agree that your personal information might be transferred and processed in United States, and that you have read and agree to Terms of Use and Privacy Policy.

Another option we can use it so disable access logging.

Intention to do this.

We can save few processor cycles by disabling it. Needless to say, this can take up valuable time it’s just a case of writing information because, even if Apache keeps log files open. In our case we do not use access log. Error logging will still be enabled. On p of this, writing log information is a time consuming process. Content is delivered with p possible performance, requests for your objects are automatically routed to nearest edge location.

Amazon CloudFront delivers your content using a global network of edge locations.

Some digging on internet shows that using Amazon Cloudfront will double bandwidth costs for your website.

It should also result in a faster loading website for visitor as content to load is located more closely to physical location of tovisitor. CSS file and theme images are loaded on CDN this will offload lots of HTTP request from main web server, when javascript file. A well-known fact that is. It’s an interesting fact that the second tip to use a Content Distribution Network is something Amazon can offer with CloudFront. Plenty of visitors came still from toUSA. In evening we have received 27169 visitors from 134 countries/territories. This is tocase. Throughout the day a lot more visitors came from different parts of toworld. By submitting my Email address I confirm that I have read and accepted Terms of Use and Declaration of Consent.

To be able to handle a bigger load on webserver one could start using multiple instances.

Until time comes when Amazon will offer a load balancing service in their EC2 environment, people are forced to use a softwarebased load balancing solution.

Effectively quadrupling current cost price of using a single EC2 instance. Certainly, web traffic may be load balanced over two web servers. Let me tell you something. Besides, the next step might be running two small instances with apache webserver with wordpress and a third instance with MySQL. Then, this effectively means we need at least 4 small EC2 instances. Yes, that’s right! I will visit this blog very often.

I thought I should leave my first comment.

I recently came across your blog and was reading along.

Nice blog. Notice, I don’t know what to say except that I have enjoyed reading. Among to first things we did is to analyse website with very nice Firefox plugin YSlow. With that said, this gives a clear indication that web site needs lots of tweaking to get a better performance. I’m sure that the improvements suggestions are sorted on most impact on top. And so it’s also suggested to use minified version for Javascript files. Preferably you have to have only one Javascript and one CSS file. Remember, webpage has 14 external Javascript files, 6 external CSS StyleSheets and 24 CSS background images.

I am sure that the tip given here goes to combine as much Javascript files and Stylesheets into both single files. Tip to minimize HTTP requests, is first we should tackle. That’s clearly a proven setup. All web server instances connect with a single MySQL database so mostly there’s a single state of towebsite. That’s where it starts getting really serious, right? This load balancing setup is similar how Slashdot has set up their hardware. That said, loadbalancer will balance load over running webserver instances. I guess this will only work for re visiting users. Therefore the remaining tips like adding Expires header and configure ETags are both cache related. Therefore this will not prevent an overload of server being that Slashdot effect. Considering above said. See also results of a recent performance analysis and current MySQL settings. The actual number of visitors per hour went slowly down with a few hundred visitors less any hour until it stabilised at 11 dot 00PM / 05 dot 00PM, after topeak.

Leave a Comment

Facebook
Facebook
Twitter
Pinterest
Pinterest
LinkedIn