Language Selection

English French German Italian Portuguese Spanish

LAMP vs. LAMP Rematch

Filed under
Software

Two very popular and widely used languages for building dynamic web sites are Perl and PHP. They make up two thirds of the "P" in the Linux Apache, MySQL, Perl/PHP/Python (LAMP) stack. How does their performance, using mod_perl and mod_php, compare for everyday web programming? I attempted to find out.

New in the rematch

In the rematch, I updated the Perl HTML code based on suggestions from comments to the orignal article. It should create a more accurate comparison with PHP. Though the main goal is to compare the performance of mod_perl and mod_php, I added a TCL CGI program to compare against Perl CGI. Finally, the hardware used for testing was significantly faster.

The machine

My new test bed was a DELL PowerEdge 2850 server with the following specifications and software:

3.2 Ghz Intel Xeon
4G RAM
Red Hat Enterprise Linux 3
Apache 2.0.46
MySQL 3.23.58
Perl 5.8.0
PHP 4.3.2
TCL 8.3.5

This system is a monster compared to the 700 Mhz server from the original test. I expected the results to reflect it.

The method

Full Story.

More in Tux Machines

elementary OS "Freya" Finally Gets Custom Keyboard Shortcuts

elementary OS "Freya" has been out for some time now, but developers are still adding features to it despite the fact that it has been dubbed stable. Now, users have the option to define custom keyboard shortcuts, which was a very sought after feature. Read more

A Linux proud history – 15 years ago and the Brazilian ATM

The history i want to share with you is how that “marble Tux” happens. Yes, it was a production machine that you see in the picture and was running in every place in Brazil for at least 10 years. So, a 25 years old boy, in this case me, the guy typing now, who was working in a ILOG graphical toolkit partner suddenly decide to look for Linux jobs, it was out of university for 1 year, but was already infected for the open source and Linux for more than 3 years, and thought it can be done. Read more

OPNFV Project Gets Backing from EMC & VMware

The open source platform for Network Functions Virtualization (NFV), OPNFV Project, has received major backing from EMC and VMware. EMC joins as a Platinum member, along with others such as AT&T, Brocade, China Mobile, Cisco, Dell, Ericsson, HP, Huawei, IBM, Intel, Juniper Networks, NEC, Nokia Networks, DOCOMO, Red Hat, Telecom Italia, Vodafone and ZTE. VMware joins as a Silver member. Read more

Leftovers: GNOME Software

  • Let’s contribute Peru with GNOME
    After that Cesar Fabian started the code contribution part, because all of them were interested in GNOME developer technologies. We started with glib, based on the GLIB Website. He explained us that Glib is a GNOME library written in C. We did a couple of examples: Hello Word and Lists of Fruits, using glist. Glists are linked lists that use the type void *. It was also explained values and basic types like gboleean where ONE represents TRUE and the rest of values are FALSE .
  • GNOME 3.18 to Drop Support for Yahoo!, Foursquare Will be Enabled by Default
    Debarshi Ray, a renown GNOME developer, announced the immediate availability for download and testing of a new development release of the GNOME Online Accounts component of the upcoming GNOME 3.18 desktop environment.
  • GNOME Disk Utility 3.17.2 Fixes Benchmarking of Disks on 32-Bit Architectures
    The GNOME Project is hard at work these days preparing for the release of the second milestone of the upcoming GNOME 3.18 desktop environment, due for release later this year on September 23.