Page 1 of 1
What kind of performance (page/sec) will I get out of this?
Posted: Mon Apr 06, 2009 2:22 pm
by yalag
I just created a very simple php page, it reads in two GET parameters. Construct a SQL string variable using those two variables. Executes the insert statement. Then lastly it does one select query to get a row count and echos that count number. What kind of page/sec will I get out of a typical home PC as a server? Just a rough estimate. 100s? 1000s? 10000s? The database operations are done through a file socket to MYSQL.
Thank you!
Re: What kind of performance (page/sec) will I get out of this?
Posted: Mon Apr 06, 2009 3:31 pm
by greyhoundcode
What kind of performance does your internet connection provide, upstream as well as down?
Re: What kind of performance (page/sec) will I get out of this?
Posted: Mon Apr 06, 2009 3:57 pm
by yalag
assuming the network is not the limiting factor here
Re: What kind of performance (page/sec) will I get out of this?
Posted: Mon Apr 06, 2009 4:43 pm
by Chris Corbyn
Somewhere between 10s and 100s, depending on your system. Complete guess.
Re: What kind of performance (page/sec) will I get out of this?
Posted: Mon Apr 06, 2009 5:59 pm
by Apollo
Pretty simple to test for yourself: create a 2nd script which calls the 1st one a 1000 times, and measure the time spent with
microtime.