A solution to the Neowin slow load problems


Recommended Posts

I have a solution to the Neowin speed problems that Neowin members are writing about here (http://www.neowin.ne...n-as-very-slow/). It's called Cloudflare (http://cloudflare.com) and is entirely free. I personally use it, and a lot of webhosting firms recently started using it globally for all of their customer's websites too.

It works by taking over your DNS (Domain Name System) servers, so that their servers handle the traffic instead. This is also called a CDN (Content Delivery Network), and it is what Google and Facebook are using too, in order to distribute network traffic over several servers. They have a server in almost every country, and by taking over your DNS, they automatically redirect the traffic to an appropriate server in the country that isn't overloaded too much. This would also make your website get less overload.

Furthermore, they compress your HTML. Right now, if you click "View source" on this page, the actual data is not compressed at all (sure, it might be GZip compressed without me knowing it due to under-the-hood browser features, but that doesn't give as much).

They also keep your site up. Let's say an error occurs on the website. They then just send the latest working version of Neowin to your users, while you fix the issue. Seen from a development perspective, changes added to the website are registered by Cloudflare in less than a few seconds. Furthermore, they keep your site protected to DDOSing, and other hacking attacks, as well as spammers. All of these functionalities can be toggled on or off if you don't trust them, too.

Now, with all the buzz going on lately about Google penalizing slow websites in the search results SEO (Search Engine Optimization) wise (http://googlewebmast...ch-ranking.html), I believe it would be a good idea to turn to this solution.

I'm not just an ordinary guy. I'm an experienced developer too, that recently ran a private hosting company through 3 years. If I didn't know much about Cloudflare, I wouldn't be recommending it.

It works for static files, most of Neowin's content is dynamic. It's not going to make much difference.

This. with Neowin using AJAX and PHP pages I cant see it helping too much.

I've never used it though and I have heard good things about it.

I thought it wasn't free, especially for a website the size of neowin? I could be wrong though.

I still don't understand what is slow about Neowin. Seems to be quite a bit about that lately.

I'm on a fairly crappy internet service, and using wifi from a neibor somewhere nearby, and Neowin loads like in quarter of a second for me, on the main page and I don't find any post pages to load slow at all.

It works for static files, most of Neowin's content is dynamic. It's not going to make much difference.

No difference what so ever!

I still don't understand what is slow about Neowin. Seems to be quite a bit about that lately.

I'm on a fairly crappy internet service, and using wifi from a neibor somewhere nearby, and Neowin loads like in quarter of a second for me, on the main page and I don't find any post pages to load slow at all.

It's not the speed of simply loading Neowin, but usually when replying it can take MINUTES for post to go through. Board at times is almost useless!

Slowdown is most probably caused by a load of database transactions that are waiting to take place, cloudflare may speed up static files being sent but it slows down dynamic files even more because you're going through another data centre.

Fix neowin speed issues = fix database queries.

Didn't someone post recently about alexia and how slow the performance of neowin and the facebook stuff was the bottle neck.

Yep, I read that. And I have noticed some changes on the main page with those Twitter and Facebook links near the top.

Didn't someone post recently about alexia and how slow the performance of neowin and the facebook stuff was the bottle neck.

Nah no one said that, theres two different issues. Site optimization which we did some of yesterday, then server optimization which is something that still needs to be addressed, but also IPB is gonna always run slower than the main page.

Not gonna tell you how to run your servers, but my suggestion would be to ditch Apache (presumably running PHP as a module?) and use nginx and PHP-FPM.

Both PHP 5.4.x and MySQL 5.5.x are substaintially better performance wise than their predecessors and Apache doesn't stand a chance against nginx.

Upgrading would also give you a chance to rid yourself of a LOT of software vulneravbilities that you might otherwise be at risk of by having not upgraded Apache and PHP.

  • Like 3

Not gonna tell you how to run your servers, but my suggestion would be to ditch Apache (presumably running PHP as a module?) and use nginx and PHP-FPM.

We have a very good experience running nginx and PHP-FPM since we switched to it aswell, so I would recommend them considering it atleast.

Not gonna tell you how to run your servers, but my suggestion would be to ditch Apache (presumably running PHP as a module?) and use nginx and PHP-FPM.

Both PHP 5.4.x and MySQL 5.5.x are substaintially better performance wise than their predecessors and Apache doesn't stand a chance against nginx.

Upgrading would also give you a chance to rid yourself of a LOT of software vulneravbilities that you might otherwise be at risk of by having not upgraded Apache and PHP.

Agreed, but PHP is again rubbish, get HHVM and see performance run magically :)

Not gonna tell you how to run your servers, but my suggestion would be to ditch Apache (presumably running PHP as a module?) and use nginx and PHP-FPM.

Both PHP 5.4.x and MySQL 5.5.x are substaintially better performance wise than their predecessors and Apache doesn't stand a chance against nginx.

Upgrading would also give you a chance to rid yourself of a LOT of software vulneravbilities that you might otherwise be at risk of by having not upgraded Apache and PHP.

Yeah, upgrading to PHP 5.4 is something we should do

I must say that neowin isnt all that slow for me on a 6mbit connection.

posting does take a little time (maybe 10s?)

but apart from that everything is no slower than any other forum i use. We must remember that IPB here is running aHUGE forum with a huge DB!

My suggestion would be vBulletin :laugh: always been a fan of it. (Im kidding ofcourse, I realise that is not an option)

Not gonna tell you how to run your servers, but my suggestion would be to ditch Apache (presumably running PHP as a module?) and use nginx and PHP-FPM.

Both PHP 5.4.x and MySQL 5.5.x are substaintially better performance wise than their predecessors and Apache doesn't stand a chance against nginx.

Upgrading would also give you a chance to rid yourself of a LOT of software vulneravbilities that you might otherwise be at risk of by having not upgraded Apache and PHP.

Im not sure if a Apache to nginx translation can be done overnight.......It might take some work.

I do agree that the latest version of PHP (and MySQL) should be used. Better yet, maybe MariaDB....

Nah no one said that, theres two different issues. Site optimization which we did some of yesterday, then server optimization which is something that still needs to be addressed, but also IPB is gonna always run slower than the main page.

Disable the Facebook/Twitter stuff for 24 hours and lets see what happens..

Cloudflare wouldn't help us with speed. We've tried them before, and they only caused headaches. Every ime we made a change to a css file for example, cloudflare would show the 'site offline' page for a good 5-10 minutes, amongst other issues. From what I can tell, the issue isn't slow database queries either. If you hit post and then half a second later, open the thread again in another tab, you'll see your post there, whilst the initial tab is still loading. Obviously IPB does a lot of additional processing after the post is submitted, and I have no idea what this processing entails, but it's clearly that which is causing the slow processing problem, and when we get time, we will look into that thoroughly.

  • Like 3

^ Well the DB may not be the main problem, but you have to admit that the DB has been somewhat of a problem lately with it taking a crap on itself every couple months causing abysmal slowdowns for a few days until it's either rebooted or manually cleaned

Im not sure if a Apache to nginx translation can be done overnight.......It might take some work.

I do agree that the latest version of PHP (and MySQL) should be used. Better yet, maybe MariaDB....

I have used MariaDB and yes It is faster, but it would take a lot of downtime for Neowin to convert to that. and nginx and php fpm makes a massive difference

I would suggest litespeed, however there is a little problem and to resolve it would not be pretty and a certain memberbase would be ****ed. so nope to that. PM me to find out why (subs only)

Nginx isn't faster at serving php content actually. FPM however would indeed be advisable, and of course, the lighter server load and static file serving of Nginx.

Also, apart from pricing, why would litespeed cause people problems?

Ultimately I don't think the entire issue can be solved by simply changing the environment. There's a lot to do with the IPB application itself no doubt.

I would suggest litespeed, however there is a little problem and to resolve it would not be pretty and a certain memberbase would be ****ed. so nope to that. PM me to find out why (subs only)

Litespeed is not free, or rather the free version has too many limitations.

This topic is now closed to further replies.
  • Posts

    • 1. Define "better". 2. It's still more expensive than equivalent PCs so... And there is not one Windows platform. This is the mistake ALL Apple oriented people make. Apple is one OEM. You could reasonably compare them to one PC OEM, say Dell or HP. But you can't compare them to ALL PC OEMs. Case in point, Apple has NO touch screen MacBooks. No tablet Macs. There are no rugged Macs. The variety of PC OEM design is insane. With Apple, you have... Apple. The problem is that you're starting with Apple as the definition of "good" then filtering out anything that isn't close to an existing Apple product, then trying to homogenise all of those left into a fictional product line and then ignore any innovations to create a minimal feature subset so you can say "See! Apple better!" PS: I was an Apple dev for 17 years and helped develop MacInTalk and disability solutions for Apple - and I have several Mac and MacBooks - so tread very carefully.
    • Major Xbox layoffs may claim South of Midnight developer Compulsion entirely by Pulasthi Ariyasinghe Microsoft has been making major changes in its gaming wing Xbox for a few months now, including the appointment of a new CEO, a large number of leadership changes, and strategy shifts. However, the company is seemingly also looking at initiating a major layoffs wave at Xbox and perhaps even a studio closure. The new report lands from Kotaku, Xbox first-party developer Compulsion Games is being shuttered soon by Microsoft. For those unfamiliar with the studio, it's the team behind Contrast (2013), We Happy Few (2018), and South of Midnight (2025). Its latest game was quite well received, even winning a Peabody Award for its writing. It even received a 9/10 in Neowin's own review, highlighting its engaging storyline, gorgeous world, and curious characters. The studio joined Xbox Game Studios in 2018, just as Microsoft announced it is acquiring Playground Games, Undead Labs, and Ninja Theory. Despite recent listings for new staff roles, according to the new report, Compulsion Games is being closed entirely, with over 90 staff being let go. Kotaku also added that the studio's leadership is in negotiations with Microsoft about this decision, but no official details have been revealed yet. The report lands just as two senior managers of Xbox leave their posts at Microsoft Gaming. Head of Xbox Game Studios Craig Duncan and chief of staff Louise O'Connor originally began their journey in Rare and have been a part of Xbox for over two decades. Dunkan has been responsible for games like Kinect Sports and Sea of Thieves, while O'Connor was primarily working on Rare's Everwild project before its cancelation. If this report about the studio shutdown is accurate, this may just be the start of a major new layoffs wave at Xbox Game Studios. There are also rumors of Arkane Studios being heavily affected. As always, take all these reports with a grain of salt until something official materializes from Microsoft or the studios.
    • The flaw with this analysis is that this laptop has a cellphone CPU in it. In the Intel world, that would be an N150 and those are everywhere, even in low end laptops. You can get an N150 based NUC with 16GB RAM and 256GB-512GB SSD... NOT soldered in... for < $500 Canadian (around US$360). The problem is two fold: tech bloggers/writers on most tech site (like this one, ironically) overvalue Apple and apparently aren't in the same earnings class as most regular people. As a result, we get breathless articles about how everyone needs a folding phone when most people just cannot afford one... or really need one. And we get Apple used as the baseline metric regardless of whether that comparison makes any sense. If Dell or HP released a retail laptop with a cellphone motherboard, you'd be all over them for doing that - but Apple does it and it's genius. I see articles suggesting what Samsung - a company that basically started the foldable phone market and has built them for eight years - needs to do to compete with Apple's unreleased, unspecced and unseen folding phone. Sorry, no - if the Neo (really creative name there BTW - still, better than the Go, the other "creative" product name everyone's using) encourages PC makers to make cellphone laptops using lower end ARM processors, we all lose. It's a step backwards and a capitulation to the fact that semiconductor makers and computer OEMs (and tech bloggers) have totally lost the plot.
    • Everyone should install this extension and ignore games that use AI. https://chromewebstore.google....nnigaaeelfkeomjcngmnh?pli=1 https://addons.mozilla.org/en-US/firefox/addon/ai-warning-for-steam/
  • Recent Achievements

    • One Year In
      ThatGuyOnline earned a badge
      One Year In
    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
  • Popular Contributors

    1. 1
      +primortal
      504
    2. 2
      +Edouard
      199
    3. 3
      PsYcHoKiLLa
      127
    4. 4
      Steven P.
      83
    5. 5
      ATLien_0
      74
  • Tell a friend

    Love Neowin? Tell a friend!