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

    • Nearly half of American adults now use AI, but concerns are also growing by Hamid Ganji Since the launch of ChatGPT in 2022, the way people research, get their news, and perform routine tasks has changed dramatically. Now, almost everything around us has a touch of AI, and companies are trying to embed it into nearly every product and service they offer. With that in mind, new research shows how Americans are actually adopting this change and using AI in their everyday lives. According to new research conducted by the Pew Research Center, 49% of American adults now use AI chatbots like ChatGPT or Gemini. This marks a significant increase over last year, when only 33% of American adults reported using AI. Additionally, four in ten U.S. adults (42%) said they use AI tools to research information, while 38% said they use these tools to handle tasks at work. Entertainment, image and video editing, and getting medical advice are among the other ways Americans are using AI. Moreover, ChatGPT dominates the U.S. AI market, with 44% of respondents saying they use OpenAI's chatbot. Gemini follows at 24%, while Copilot and Meta AI account for 17% and 14%, respectively. Respondents also said that AI chatbots generally have a positive impact on their productivity and how informed they are. But when it comes to AI’s impact on society, Americans remain largely skeptical. About 40% of American adults believe AI will be more harmful than beneficial to society over the next 20 years. Additionally, 31% expect AI to have a negative effect on them personally. Another 31% of respondents say AI could be equally positive and negative. As for data security, pessimism remains high: 71% of respondents say AI will make their personal information less secure, while only 3% believe it will make their data more secure. American adults also largely lack confidence in both the government and AI companies when it comes to regulating and developing AI. About 67% of Americans have little to no confidence in the U.S. government’s ability to regulate AI effectively. Six in ten adults are also not confident that U.S. companies will develop and use these tools responsibly.
    • MultiOS-USB 0.11.1 by Razvan Serea MultiOS-USB is a versatile, open-source utility designed to create multiboot USB drives capable of hosting multiple operating systems on a single portable device. The project simplifies the process of building a bootable USB by automating the configuration of various boot loaders and file systems, enabling users to install and run diverse operating systems, including Windows, Linux distributions, and diagnostic tools, directly from one drive. It supports ISO booting and persistence, which allows changes made during live sessions to be retained, making it ideal for testing, troubleshooting, or system recovery. Features: BIOS and UEFI support Secure Boot support (boot, manage uefi keys) Load UEFI drivers Launch .efi executables and other boot loaders Boot Linux from .iso images Boot WinPE from bootable .wim images Boot Windows 10/11 installer from ISO (currently, SB must be disabled during installation) Boot Linux installer from network (experimental) Boot locally installed systems: Linux, Windows Automatically update configuration files Without background services exFAT file system support Automatic detection of compatible ISO images (GRUB loopback) Support for systems without loopback support Allows customisation of ISO boot menu (for example: custom kernel options) Support for USB, SSD, nvme, mmcblk, loop, nbd and virtual disks Support for x86, x86_64 A list of tested ISO images can be found here MultiOS-USB 0.11.1 changelog: 68122b7: Fixed-release AUR package #63 fba0283: Update shim to 16.1 8c2ae95: Update grub to v2.14-1 ea15c1d: Update Memtest86+ to v8.10 162f4e6: Add secureblue (#71) b2da8ae: Add AerynOS (#74) ac6640e: Bump config.version 34e9ca6: Add Bluefin (#72) 7a10edd: Add Aurora (#66) cab701b: Update wimboot to v2.9.0-1 90da7f7: Fix Windows error: 0x80070001 - 0x4002F (#52) 2dea73d: Add Microsoft certificates 01f479e: Remove old efi_uga module Download: MultiOS-USB 0.11.1 | 5.3 MB (Open Source) View: MultiOS-USB Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Latest Rufus update improves new Windows 11 install method by Taras Buria Pete Batard, the maker of Rufus, a very popular app for creating bootable Windows (and other OS) media, has released a new beta version of its app. Rufus 4.15 beta is now out, and while it offers no new features, there are all sorts of improvements and fixes, including for the new Windows 11 installation method that was introduced in version 4.14 in early May. The "Silent Windows 11 installation" is a new feature whose goal is to automate operating system installation. All you have to do is boot from the drive, and then Rufus takes over, doing all things for you, such as setting up a new account, skipping ads and prompts, and more. It is a very handy tool, but initially, it had some bugs and issues that required addressing. With version 4.15 beta, Rufus is fixing that, particularly a bug with installation failing at 75%, crashes on Snapdragon X-based PCs, and more. Here is the changelog: Rufus 4.15 beta is now available for download from its GitHub repository. If you have never used Rufus before, you can check out our guide here. It is a very useful utility to have, as it allows you to deal with plenty of Windows 11's annoyances, which are still there, despite Microsoft's ongoing efforts to fix them.
    • Microsoft fixes one of Excel Copilot's most frustrating limitations by Usama Jawad Microsoft began integrating Copilot into Excel a couple of years ago and has been upgrading it with new functionalities since then. While some changes have been controversial, Microsoft is hoping to win over users by allowing them to be more productive via Copilot. To that end, it has now announced a Copilot improvement that may actually be appreciated by people who use it regularly. Excel customers often use the Copilot prompt box to issue instructions to format and customize their data, but it can become quite tiring to keep repeating the same instructions again and again. Microsoft now allows you to define Copilot personalization rules for formatting, naming conventions, formulas, and report styles. These can be accessed via Settings > Personalization, where you can explain your rules in natural language like "Always format currency in USD with no decimals", and just let Copilot take care of the rest. Microsoft is going a step further in this direction by allowing you to set workbook rules too. These rules are stored as a .Rules sheet, and are preserved while the workbook is shared. This fosters collaboration while making sure that standard rules govern the Copilot editing experience across the organization. Other advantages of this capability include pointing it to specific examples, defining dynamic formulas, and referencing an entire sheet and asking Copilot to infer rules based on that. You can leverage this feature by opening Copilot in Excel, clicking on "+", and selecting Create workbook rules. If you have an existing .Rules sheet, you can simply start listing the rules in column A as well. Personalization features are available to all Copilot in Excel users across the web, Mac, and Windows. Meanwhile, workbook rules are currently being previewed for Windows and Mac customers on the Insiders channel. General availability is scheduled after a few weeks, but a concrete date is currently unknown. Overall, the Excel capability is quite similar to ChatGPT's memory features, which allow you to permanently store items in the AI model's context window.
  • Recent Achievements

    • One Month Later
      Vincian earned a badge
      One Month Later
    • First Post
      Jocimo earned a badge
      First Post
    • Week One Done
      suprememobiles48 earned a badge
      Week One Done
    • One Month Later
      Windows Guy earned a badge
      One Month Later
    • One Month Later
      Prasann earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      510
    2. 2
      +Edouard
      172
    3. 3
      PsYcHoKiLLa
      90
    4. 4
      Steven P.
      76
    5. 5
      neufuse
      68
  • Tell a friend

    Love Neowin? Tell a friend!