Language Selection

English French German Italian Portuguese Spanish

Nginx vs Apache with APC and Varnish

Filed under
Linux

There are a lot of test and comparisons about Nginx vs Apache. And yes for static content because it is asynchronous, Nginx preforms better. What happens when you have PHP?

I have setup two servers with:

  • Apache + PHP + APC + Varnish
  • Nginx + PHP-FPM + APC + Varnish

Adding APC and Varnish as stages and it seems that in those conditions both Apache and Nginx are almost the same thing.

Actually I used them to server Wordpress documents, so MySQL was also involved, but the bottle neck was PHP, APC made a great job and with Varnish both setups fly.

Read the rest here: http://www.garron.me/linux/apache-vs-nginx-php-fpm-varnish-apc-wordpress-performance.html

More in Tux Machines

Infrastructure living the ideals of software freedom

Can organisations with limited resources be digitally sovereign and still provide modern services? It is not trivial, but the FSFE proves it's possible. Take a deep dive with us into our infrastructure to learn how we run all the different services within the FSFE and cope with numerous challenges. A story non only for techies. Charity, non-profit organisations run into limits every day: personnel, budget, time, and the pressing question how to use donations most efficiently. When it comes to technical infrastructure, many organisations unfortunately decide to outsource and use proprietary, non-free services. By this, they give up software freedom and thereby digital sovereignty and independence. Since its founding more than 20 years ago, the FSFE has been pursuing the opposite way. Right from the start, we have relied on Free Software although it sometimes meant not being able to use and offer trendy services. Also, given the limited resources, we constantly have to choose between useful features and maintainability. Read more

Ubuntu Frame - A picture is worth a thousand snaps

The development of graphical applications intended for use on IoT devices isn’t trivial. The complexity goes beyond the usual challenges that exist in the classic desktop and server domains. One, the IoT world is much less mature. Two, developers need to take into consideration various edge cases that do not apply to hands-on devices like laptops, for instance. Kiosks, industrial displays and digital signage devices require additional focus and rigor. Ubuntu Frame is a solution designed to simplify and streamline the build and development of products that need graphical output. On a technical level, it is a fullscreen shell, based on Wayland, intended for interactive usage applications. On a product level, Ubuntu Frame bundles communication protocols, input protocols and security policies into a single kit, which can then be used in IoT devices. You can test it today. Read more

LoRa HAT starts at $31

SB Components is crowdfunding a $31-and-up “LoRa HAT for Raspberry Pi” with a 5-Km range at 868MHz or 433MHz. There is also a $47 “LoRa Expansion for Pico” board with a pre-soldered RPi Pico. Raspberry Pi milliner SB Components, which is behind such RPi HATs as the PiFinger fingerprint sensor HAT, has won Kickstarter funding for a simple, low-cost LoRa communications HAT. The LoRa HAT for Raspberry Pi is still available in a super early bird special for 23 UK Pounds ($31), as well as an identical 30-Pound ($40) package discounted from the eventual 40-Pound retail price. Read more

Preparing for PipeWire

In the coming year, PipeWire will replace PulseAudio resulting in better audio on Linux. If you can't wait, here's what you need to know to get started with PipeWire. Unless you use a version of Fedora released in 2021, you may not have heard of PipeWire. However, by this time next year, PipeWire will likely be installed on your computer. Already, many distributions are starting to carry PipeWire (marked as experimental) in their repositories. Still unfinished with its installation varied depending on distribution, PipeWire is about to replace PulseAudio as Linux’s main audio server. If you are unwilling to wait until PipeWire becomes a standard part of a Linux installation, here is what you should know. PipeWire was created by Wim Taymans of Red Hat in 2015. Based on an earlier project called PulseVideo, PipeWire was originally intended as a server for capture and playback of audio and video. The video side of the project is still in development, but the audio side is mature enough that in the spring of 2021 Fedora 34 become the first Linux distribution to install it by default. In Fedora 34, PipeWire is used to manage PulseAudio, JACK, ALSA, and GStreamer-based applications. Read more