473,800 Members | 3,007 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[Lighttpd + PHP + MySQL] How to test performance?

Hello

I have Lighttpd, PHP in FastCGI, and MySQL up and running on FreeBSD.
Now, I'd like to find a tool to stress things, so I can check what
happens when I try different things to improve performance (PHP cache,
MySQL cache, using different queries, etc.)

I haven't found anything on the subjet on www.lighttpd.net : Is there
an equivalent to Apache's ab that I could use to simulate multiple,
simultaneous connections from a client host on the LAN?

Thank you.
Jan 14 '08 #1
2 3171
On Mon, 14 Jan 2008 13:21:34 +0100, Gilles Ganault <no****@nospam. com>
wrote:
Hello

I have Lighttpd, PHP in FastCGI, and MySQL up and running on FreeBSD.
Now, I'd like to find a tool to stress things, so I can check what
happens when I try different things to improve performance (PHP cache,
MySQL cache, using different queries, etc.)

I haven't found anything on the subjet on www.lighttpd.net : Is there
an equivalent to Apache's ab that I could use to simulate multiple,
simultaneous connections from a client host on the LAN?
Apache's ab can AFAIK stress test a lighty server too. It's not limited to
Apache (allthough designed with it in mind offcourse).
--
Rik Wasmus
Jan 14 '08 #2
On Mon, 14 Jan 2008 13:27:27 +0100, "Rik Wasmus"
<lu************ @hotmail.comwro te:
>Apache's ab can AFAIK stress test a lighty server too. It's not limited to
Apache (allthough designed with it in mind offcourse).
Cool :-) I assume it's a recommend tool for this type of things. Since
I don't know what I'm doing, can I just download this tool and install
it in FreeBSD, or am I required to install the whole Apache
package/ports just to get ab?

Thanks.
Jan 14 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3950
by: Mike Chirico | last post by:
Interesting Things to Know about MySQL Mike Chirico (mchirico@users.sourceforge.net) Copyright (GPU Free Documentation License) 2004 Last Updated: Mon Jun 7 10:37:28 EDT 2004 The latest version of this document can be found at: http://prdownloads.sourceforge.net/souptonuts/README_mysql.txt?download
8
5152
by: wlcna | last post by:
mysql v4.0.16: I had been using mysql with innodb and thought that was fine, until i used it for something requiring a few - perhaps slightly involved - joins, and have now seen the performance become totally unacceptable. I have a query that takes over 35 seconds using mysql and innodb, for reasons that are completely a mystery to me, in a result set consisting of only a handful of items.
39
8434
by: Mairhtin O'Feannag | last post by:
Hello, I have a client (customer) who asked the question : "Why would I buy and use UDB, when MySql is free?" I had to say I was stunned. I have no experience with MySql, so I was left sort of stammering and sputtering, and managed to pull out something I heard a couple of years back - that there was no real transaction safety in MySql. In flight transactions could be lost.
0
2196
by: venkatbo | last post by:
Hi folks, I'm trying to get lighttpd, fastcgi & python working on a 2.4.21.x i686 linux system. I tried following the steps in: http://www.cleverdevil.org/computing/24/python-fastcgi-wsgi-and-lighttpd Some of the lighttpd.conf setting are slightly different from those in that article - fixing some erros in the original and accounting for some change in entry formats itself.
0
2026
by: fmcarol | last post by:
In the course of playing with my new Lighttpd server, I ran into a problem with the PHP_SELF, PATH_INFO, and ORIG_PATH_INFO variables - specifically, Lighty doesn't provide them to my PHP install. Now, this isn't specifically a PHP issue, but so far no one in the Lighty community has come up with a good fix for this - short of doing without PATH_INFO. Even after applying all the fixes I could find:
1
1636
by: chani | last post by:
dear all, I recently installed lang/php5 & lang/php5-extensions in my freeBSD box now my lighttpd server is not working & finally I understood it is due to a php trouble. when i type following command @ console # php -v php banner is not displaying. instead following error message is
9
7096
by: Gilles Ganault | last post by:
Hello I was looking for a lighter web server than Apache, and installed Lighttpd on CentOS through yum. It works fine, but I now need to use SQLite from a PHP script. I seem to understand that it can either be access directly, or through the PDO interface. Can you confirm that the RPM that I used will only allow me to work through PDO, and not the SQLite library directly, and which is more recommended?
1
2730
by: Gilles Ganault | last post by:
Hello There's not much activity in the Lighttpd forum, so I figured maybe some people here use this web server instead of Apache, and would know the cause of the problem. PHP scripts can successfully read/write to an SQLite file when it's located either in Lighttpd's web directory (/usr/local/www/data/) or in /tmp, but it fails writing when the file is located elsewhere (such as /var).
1
1386
ashitpro
by: ashitpro | last post by:
I've installed php5,mysql 5,lighttpd on my ubuntu server.. everything works fine..But when I stop and starts mysql... php execution hangs.... any solution.....?
0
9694
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10509
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10281
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10256
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10039
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9095
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5612
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4152
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3765
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.