Re: [PHP] Speed of sending email .. can I put them in a queue rather than wait?

2010-01-30 Thread Per Jessen
Angus Mann wrote: > The number of emails sent is very small. Each one is only sent after a > user fills out a form and presses send. > > But there is a noticable lag of about 5 or sometimes 10 seconds after > pressing "send" before the user sees the "Mail sent" page. I presume > the reason for th

Re: [PHP] Speed of sending email .. can I put them in a queue rather than wait?

2010-01-30 Thread Manuel Lemos
Hello, on 01/27/2010 12:07 AM Eric Lee said the following: > Hi, all > > I'am doubted about installing a local mail server for just low volume > mailing. > May I ask all yours professional what do you think about it ? I do not use nor recommend Windows for delivering messages to many recipients,

Re: [PHP] Speed of sending email .. can I put them in a queue rather than wait?

2010-01-26 Thread Paul M Foster
On Wed, Jan 27, 2010 at 10:07:13AM +0800, Eric Lee wrote: > Hi, all > > I'am doubted about installing a local mail server for just low volume > mailing. > May I ask all yours professional what do you think about it ? > Every place I've ever hosted (all Linux servers) include a local MTA which i

Re: [PHP] Speed of sending email .. can I put them in a queue rather than wait?

2010-01-26 Thread Eric Lee
Hi, all I'am doubted about installing a local mail server for just low volume mailing. May I ask all yours professional what do you think about it ? Thanks in advanced. Regards, Eric, > -- > Jim Lucas > NOC Manager > 541-323-9113 > BendTel, Inc. > http://www.bendtel.com > > -- > PHP Gener

Re: [PHP] Speed of sending email .. can I put them in a queue rather than wait?

2010-01-26 Thread Jim Lucas
Manuel Lemos wrote: > Hello, > > On Tue, Jan 26, 2010 at 12:02 PM, Angus Mann wrote: >> I'm currently using the phpmailer class from phpmailer.worxware.com to >> send datatbase -populated emails to clients. >> >> At the moment I'm runninng PHP on Windows and using the built-in sendmail >> equival

Re: [PHP] Speed of sending email .. can I put them in a queue rather than wait?

2010-01-26 Thread Manuel Lemos
Hello, On Tue, Jan 26, 2010 at 12:02 PM, Angus Mann wrote: > I'm currently using the phpmailer class from phpmailer.worxware.com to > send datatbase -populated emails to clients. > > At the moment I'm runninng PHP on Windows and using the built-in sendmail > equivalent packaged with XAMPP. It use

RE: [PHP] Speed of sending email .. can I put them in a queuerather than wait?

2010-01-26 Thread Bob McConnell
From: Paul M Foster > On Tue, Jan 26, 2010 at 02:02:18PM +1000, Angus Mann wrote: >> >> I'm currently using the phpmailer class from phpmailer.worxware.com >> to send datatbase -populated emails to clients. >> >> At the moment I'm runninng PHP on Windows and using the built-in >> sendmail equivale

Re: [PHP] Speed of sending email .. can I put them in a queue rather than wait?

2010-01-26 Thread Eric Lee
On Tue, Jan 26, 2010 at 12:02 PM, Angus Mann wrote: > Hi all. > > I'm currently using the phpmailer class from phpmailer.worxware.com to > send datatbase -populated emails to clients. > > At the moment I'm runninng PHP on Windows and using the built-in sendmail > equivalent packaged with XAMPP. I

Re: [PHP] Speed of sending email .. can I put them in a queue rather than wait?

2010-01-25 Thread Paul M Foster
On Tue, Jan 26, 2010 at 02:02:18PM +1000, Angus Mann wrote: > Hi all. > > I'm currently using the phpmailer class from phpmailer.worxware.com to send > datatbase -populated emails to clients. > > At the moment I'm runninng PHP on Windows and using the built-in sendmail > equivalent packaged wi

Re: [PHP] Speed Issues PHP vs ASP.net

2009-08-25 Thread Bastien Koert
On Tue, Aug 25, 2009 at 10:37 AM, kyle.smith wrote: > > -Original Message- > Recently i read this blog post about speed issues comparing PHP with > ASP.net, please, read that and comment what you think about it: > http://misfitgeek.com/blog/aspnet/php-versus-asp-net-ndash-windows-versu > s-

RE: [PHP] Speed Issues PHP vs ASP.net

2009-08-25 Thread kyle.smith
-Original Message- Recently i read this blog post about speed issues comparing PHP with ASP.net, please, read that and comment what you think about it: http://misfitgeek.com/blog/aspnet/php-versus-asp-net-ndash-windows-versu s-linux-ndash-who-rsquo-s-the-fastest/ The big deal is: I don't

Re: [PHP] Speed Opinion

2009-02-08 Thread Martin Zvarík
Nathan Rixham napsal(a): Ashley Sheridan wrote: On Thu, 2009-02-05 at 09:44 +1100, Chris wrote: PHP wrote: Hi all, I am seeking some knowledge, hopefully I explain this right. I am wondering what you think is faster. Say you have 1000 records from 2 different tables that you need to get fro

Re: [PHP] Speed Opinion

2009-02-04 Thread Nathan Rixham
Ashley Sheridan wrote: On Thu, 2009-02-05 at 09:44 +1100, Chris wrote: PHP wrote: Hi all, I am seeking some knowledge, hopefully I explain this right. I am wondering what you think is faster. Say you have 1000 records from 2 different tables that you need to get from a MySQL database. A simp

Re: [PHP] Speed Opinion

2009-02-04 Thread Ashley Sheridan
On Thu, 2009-02-05 at 09:44 +1100, Chris wrote: > PHP wrote: > > Hi all, > > I am seeking some knowledge, hopefully I explain this right. > > > > I am wondering what you think is faster. > > > > Say you have 1000 records from 2 different tables that you need to get from > > a MySQL database. > >

Re: [PHP] Speed Opinion

2009-02-04 Thread Robert Cummings
On Wed, 2009-02-04 at 14:42 -0800, PHP wrote: > Hi all, > I am seeking some knowledge, hopefully I explain this right. > > I am wondering what you think is faster. > > Say you have 1000 records from 2 different tables that you need to get from a > MySQL database. > A simple table will be display

Re: [PHP] Speed Opinion

2009-02-04 Thread Afan Pasalic
PHP wrote: Hi all, I am seeking some knowledge, hopefully I explain this right. I am wondering what you think is faster. Say you have 1000 records from 2 different tables that you need to get from a MySQL database. A simple table will be displayed for each record, the second table contains r

Re: [PHP] Speed Opinion

2009-02-04 Thread Chris
PHP wrote: Hi all, I am seeking some knowledge, hopefully I explain this right. I am wondering what you think is faster. Say you have 1000 records from 2 different tables that you need to get from a MySQL database. A simple table will be displayed for each record, the second table contains re

Re: [PHP] Speed of apache/php4 on windows

2007-03-31 Thread Richard Lynch
On Sat, March 31, 2007 3:49 pm, Don Don wrote: > Hi all, i've got apache/php4 running on windows xp with good hardware > configuration etc. However, the speed of execution of php pages is > really slow. When testing on my local development machine it takes a > few more seconds executing php files

Re: [PHP] Speed

2006-01-11 Thread Rodolfo Andrade
2006 6:07 AM Subject: RE: [PHP] Speed Why not check it? Try to query for the AVG() and get the result or query for the data and do a loop in PHP to calculate the AVG. Check the time each Takes. My Money is that getting the value from SQL will be faster. Sincerely berber Visit the Weber Sites

RE: [PHP] Speed

2006-01-11 Thread Weber Sites LTD
Why not check it? Try to query for the AVG() and get the result or query for the data and do a loop in PHP to calculate the AVG. Check the time each Takes. My Money is that getting the value from SQL will be faster. Sincerely berber Visit the Weber Sites Today, To see where PHP might tak

Re: [PHP] Speed

2006-01-11 Thread Philip Hallstrom
Assume that I save data about an object and it has 10.000 observations of the object stored in a MySQL database. I want calculate the average value of a column, is it faster done by using PHP on the result array or using the MySQL function to do that? MySQL. You don't have to transfer all 10,00

RE: [PHP] Speed/Efficiency Question: Large array into DB

2005-10-11 Thread Alan Lord
ginal Message- > From: Brent Baisley [mailto:[EMAIL PROTECTED] > Sent: 11 October 2005 19:35 > To: Alan Lord > Cc: php-general@lists.php.net > Subject: Re: [PHP] Speed/Efficiency Question: Large array into DB > > Sounds to me like you are trying to import data. In which > c

Re: [PHP] Speed/Efficiency Question: Large array into DB

2005-10-11 Thread Brent Baisley
Sounds to me like you are trying to import data. In which case it would be best to create a text file and import it rather than putting PHP in the middle. But if you are going us to PHP, I would not do individual INSERTs. The overhead will really slow things down with number of inserts you

Re: [PHP] speed - PHP/MYSQL

2005-07-24 Thread balwant singh
Actually the data inserted in MYSQL is at every 2 seconds. i.e. 30 rows in an hour. but we are making report on hourly basis. So i used this method. With best wishes balwant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] speed - PHP/MYSQL

2005-07-23 Thread Joe Wollard
I agree with Jasper here, you want to make it a point to optimize your queries so that fewer trips are made to the database server. On the topic of indexing, I'm curious as to how you did that and if your using it as intended. In your query you are testing columns `time`,`date` so you'll wa

Re: [PHP] speed - PHP/MYSQL

2005-07-23 Thread Jasper Bryant-Greene
balwant singh wrote: Hi, I have made a webpage in php which retrieves the data from a huge MYSQL tables as below:- $i=0; while ($i<=23) { select a, b from table where hour(time)=$i and date='' order by desc time limit 1; $i++; } then i substract the current hour output from the last hour

Re: [PHP] speed of mail() on two servers

2003-08-29 Thread David T-G
Raditha, et al -- ...and then Raditha Dissanayake said... % % Hello David, Hi! % looks like a bit of a tough one :-) guess you might be better off trying Indeed. % one of the qmail groups instead of this one. Sorry my own qmail Oh, whoops! Yes, I'm already being a general pest on the qm

Re: [PHP] speed of mail() on two servers

2003-08-29 Thread Raditha Dissanayake
Hello David, looks like a bit of a tough one :-) guess you might be better off trying one of the qmail groups instead of this one. Sorry my own qmail expertise isn't as good as it should be. best regards raditha David T-G wrote: jabber, et al -- ...and then [EMAIL PROTECTED] said... % % Hello

Re: [PHP] speed of mail() on two servers

2003-08-29 Thread David T-G
jabber, et al -- ...and then [EMAIL PROTECTED] said... % % Hello, Hi! % % I recall someone (pardone me i don't save list mails) pointing out that % the delay could actually be in generating the message rather than in the Yep. Nope. % sending. You are sending a customized message to each

Re: [PHP] speed of mail() on two servers

2003-08-28 Thread [EMAIL PROTECTED]
Hello, I recall someone (pardone me i don't save list mails) pointing out that the delay could actually be in generating the message rather than in the sending. You are sending a customized message to each user aren't you? Would you be creating this message from what's in a mysql database or s

Re: [PHP] speed of mail() on two servers

2003-08-28 Thread David T-G
Jabber, et al -- ...and then [EMAIL PROTECTED] said... % % having you tried ezmlm or to directly inject the message into the que? Yes, I've tried qmail-inject. I got down to about 0.41s/msg which is still terrible. Thanks & HAND :-D -- David T-G * There is too much anim

Re: [PHP] speed of mail() on two servers

2003-08-27 Thread [EMAIL PROTECTED]
having you tried ezmlm or to directly inject the message into the que? Javier Tacon wrote: I think that may be 'problem' from sendmail .. mail() function under linux only interacts with sendmail, it doesn't contact to the remote SMTP to leave the mail. Do you have the same sendmail version in two

Re: [PHP] speed of mail() on two servers

2003-08-27 Thread Curt Zirzow
* Thus wrote David T-G ([EMAIL PROTECTED]): > > It seems to be the mail() call itself, because I can make a system call > (system, exec, passthru) to just echo the current data and it rips > through my list in nothin' flat. So how do I tune mail() to make it > faster? Or do I need to give up and

[PHP] Re: php.ini sendmail settings (was "Re: [PHP] speed of mail() ... ")

2003-08-27 Thread David T-G
Hi again, everyone -- I have a feeling that our problem is a lousy php.ini configuration. For both module and CLI php we're using /usr/local/lib/php.ini, so I look in there and I see [mail function] ; For Win32 only. SMTP = localhost ; For Win32 only. sendmail_from = [EMAIL PROTECTED]

Re: [PHP] speed of mail() on two servers

2003-08-27 Thread David T-G
Javier -- ...and then Javier Tacon said... % % May be the machine of your friend has a better network output than your % machine :) Heh :-) Hey, stranger things have happenned! But check my other followup for an interesting twist. Thanks again & HAND :-D -- David T-G

RE: [PHP] speed of mail() on two servers

2003-08-27 Thread Javier Tacon
May be the machine of your friend has a better network output than your machine :) -Mensaje original- De: David T-G [mailto:[EMAIL PROTECTED] Enviado el: miercoles, 27 de agosto de 2003 11:59 Para: PHP General list CC: Javier Tacon Asunto: Re: [PHP] speed of mail() on two servers

Re: [PHP] speed of mail() on two servers

2003-08-27 Thread David T-G
Javier, et al -- ...and then Javier Tacon said... % % I think that may be 'problem' from sendmail .. mail() function under % linux only interacts with sendmail, it doesn't contact to the remote Right. Only it doesn't make much sense, because qmail is FAST. % SMTP to leave the mail. Do you hav

RE: [PHP] speed of mail() on two servers

2003-08-27 Thread Javier Tacon
I think that may be 'problem' from sendmail .. mail() function under linux only interacts with sendmail, it doesn't contact to the remote SMTP to leave the mail. Do you have the same sendmail version in two machines? You should compare both sendmail configuration and try to check the speed from a

RE: [PHP] Speed up MySQL

2003-06-27 Thread Aaron Gould
Read these mysql.com doc pages: http://www.mysql.com/doc/en/MySQL_indexes.html http://www.mysql.com/doc/en/CREATE_INDEX.html -- Aaron Gould Web Developer Parts Canada [EMAIL PROTECTED] -Original Message- From: Erich Kolb [mailto:[EMAIL PROTECTED] Sent: June 27, 2003 3:56 PM To: [EMAI

Re: [PHP] Speed concerns with OOP and PHP4

2003-01-16 Thread Maxim Maletsky
"John Wells" <[EMAIL PROTECTED]> wrote... : > I'm working on a large VB/Sql Server to Php/Postgresql conversion (approx. > 60k lines of code). First of all, VB is precompiled and PHP is not. This will already be slower. So, you gonna need to create a logic that loads only the necessary classes f

Re: [PHP] speed comparison

2002-11-19 Thread Marek Kilimajer
I like to see html highlighting, so I prefer first method, but for some small snippets I also use echo Ernest E Vogelsinger wrote: As Maxim pointed out a couple of days ago, this is just a matter of nanosecs, it shouldn't be really noticeable from performance. The fastest was to display non-PHP

Re: [PHP] speed comparison

2002-11-18 Thread Jeff Bluemel
I have not problem displaying variable - I do it all over my webpage, or how to handle them. you may want to check out my post above that has a weblink to the project, and a better explanation of exactly what I am doing. "Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED

Re: [PHP] speed comparison

2002-11-18 Thread Jeff Bluemel
depends on my situation, but I use both techniques at times... "Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I think the difference would be immeasurable, but to me, I think it would > make sense if PHP didn't have to parse plain HTML... > > S

Re: [PHP] speed comparison

2002-11-18 Thread Ernest E Vogelsinger
As Maxim pointed out a couple of days ago, this is just a matter of nanosecs, it shouldn't be really noticeable from performance. The fastest was to display non-PHP output is to escape from PHP and enter plain HTML, like $a = 'World'; ?> Hello ! Hello World!'; Note the single quote

Re: [PHP] speed comparison

2002-11-18 Thread Justin French
I think the difference would be immeasurable, but to me, I think it would make sense if PHP didn't have to parse plain HTML... So IMHO, /should/ be slightly quicker than {$foo}"; ?> The general consensus on the list seems to be "go with whichever one you are more comfortable with, is more rea

Re: [PHP] Speed issues.

2002-07-28 Thread Yves Vrancken
Thanks for the help, guys . I appreciate it. And Bas, thanks for that link. Interesting material for a novice PHP-user as myself. Yves Vrancken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Speed issues.

2002-07-28 Thread John Holmes
> I am new to PHP and trying to implement some PHP and MySQL on my website. > My > website has a lot of tables and inside some of those tables, I want to > display information that is drawn out of the MySQL database using PHP. I > was > wondering what goes faster: > > (A). Building the whole page

Re: [PHP] Speed issues.

2002-07-28 Thread Bas Jobsen
Hello, You can also find something about your questions on: http://www.php9.com/index.php/section/articles/name/PHP%20Guidelines I had tested out by printing (repeated times): 1) echo ''.$k.': hallo '.$string.', dit is het'."\n"; 2) echo "$k: hallo $string, dit is het"."\n"; 3) ?>: hallo , dit i

Re: [PHP] Speed issues.

2002-07-28 Thread Yves Vrancken
I didn't expect it to make too much of a difference. Thank you for your answer. Yves Vrancken "Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I haven't noticed ANY performance hit by skipping in and out of PHP and HTML > when it suits me. > >

Re: [PHP] Speed issues.

2002-07-28 Thread Justin French
I haven't noticed ANY performance hit by skipping in and out of PHP and HTML when it suits me. I imagine there *might* be a slight performance hit if you were building a LOT of table information with print or echo or printf, but the general answer to your question is usually "whatever suits you b

Re: [PHP] Speed Question

2002-07-19 Thread JJ Harrison
thx "Jason Wong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Thursday 18 July 2002 19:32, JJ Harrison wrote: > > if I do this: > > > > if(validate($_POST['password'], $_POST['username']) != 0) > > echo validate($_POST['password'], $_POST['username']); > >

Re: [PHP] Speed Question

2002-07-19 Thread Jason Wong
On Thursday 18 July 2002 19:32, JJ Harrison wrote: > if I do this: > > if(validate($_POST['password'], $_POST['username']) != 0) > echo validate($_POST['password'], $_POST['username']); > > will it execute the function twice or use the same result twice? Function executes twice. > would it be (s

Re: [PHP] Speed tests? RAM usage displays?

2002-06-21 Thread Pekka Saarinen
At 6/21/2002, you wrote: >PS> What about execution time in ms (with breakpoints)? >PS> And is there way to measure MySQL query speed in ms? > >u can use microtime function > > function getMicrotime() > { > list($usec, $sec) = explode(" ",microtime()); > return ((float)$usec

Re: [PHP] Speed tests? RAM usage displays?

2002-06-20 Thread Uros Gruber
Hi! Thursday, June 20, 2002, 10:56:40 PM, you wrote: PS> Is there any way to determine script's memory usage? When you configure and compile you have some option --with-memory-limit something like that and then add \"%{mod_php_memory_usage}n\" in you http.conf of Apache where you define how

Re: [PHP] Speed tests? RAM usage displays?

2002-06-20 Thread 1LT John W. Holmes
> Is there any way to determine script's memory usage? Depends on your web server. There is a way in apache. Rasmus answered this same question for me a couple weeks ago, look through the archives. I saw an option in IIS to put memory usage into the logs, that may work, too. > What about executi

[PHP] Re: php-speed

2002-06-13 Thread Leon Mergen
"Philipp Melab" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Yes, Ithought that embedding must be faster too. But I was confused because > in nearly every PHP-Beginner Tutorial/Book I've seen the Hello-World > Example looks like this: > > echo ""; > echo ""

[PHP] Re: php-speed

2002-06-13 Thread Philipp Melab
Yes, Ithought that embedding must be faster too. But I was confused because in nearly every PHP-Beginner Tutorial/Book I've seen the Hello-World Example looks like this: "; echo ""; echo "..."; echo ""; echo ""; echo "Hello World!"; echo ""; echo ""; ?> funny, isn't it?

[PHP] Re: php-speed

2002-06-13 Thread Philipp Melab
Yes Leon Mergen wrote: > > "Philipp Melab" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> - embedding PHP in HTML >> - or printing HTML via PHP > > With embedding PHP in HTML, do you mean using server side includes or do > you mean by having a .php file

[PHP] Re: php-speed

2002-06-13 Thread Leon Mergen
"Philipp Melab" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > - embedding PHP in HTML > - or printing HTML via PHP With embedding PHP in HTML, do you mean using server side includes or do you mean by having a .php file and having a layout like this:

Re: [PHP] Speed comparison of PHP vs. PERL (not conclusive)

2002-06-01 Thread Jason Wong
On Sunday 02 June 2002 02:12, Mark Charette wrote: > From: Jason Wong [mailto:[EMAIL PROTECTED]] > > >Try comparing reading 10K rows from a DB using Perl and PHP would be a > > more useful benchmark. > > --- > When's the last time you wrote a Web page that needed 10K rows displayed? Never. Perha

RE: [PHP] Speed comparison of PHP vs. PERL (not conclusive)

2002-06-01 Thread Mark Charette
From: Jason Wong [mailto:[EMAIL PROTECTED]] >Try comparing reading 10K rows from a DB using Perl and PHP would be a more >useful benchmark. --- When's the last time you wrote a Web page that needed 10K rows displayed? Writing good _and relevant_ benchmarks is one of the more difficult things to d

Re: [PHP] Speed comparison of PHP vs. PERL (not conclusive)

2002-05-31 Thread Jason Wong
On Saturday 01 June 2002 06:20, Daniel Grace wrote: > > > language would in many cases show PHP to be slower simply because it's > > > looping code is slow? [...] > > It is typical usage, yes, but the conversation that gave me the idea to do > the quick speed comparison was the idea that PHP can b

Re: [PHP] Speed comparison of PHP vs. PERL (not conclusive)

2002-05-31 Thread Ilia A.
I agree that in most cases it makes more sence at seing the webpages per second benchmark rather then a timing of some artibtrary benchmarks that for example seeing how long it take to pick prime numbers. Since in the end it matters how quickly you can get the data to the user, in case of perl

Re: [PHP] Speed comparison of PHP vs. PERL (not conclusive)

2002-05-31 Thread Daniel Grace
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Sure, you could put it that way. When benchmarking something you really > should benchmark stuff that you actually care about. Benchmark PHP > spewing out a web page after making a couple of SQL

Re: [PHP] Speed comparison of PHP vs. PERL (not conclusive)

2002-05-31 Thread Rasmus Lerdorf
Sure, you could put it that way. When benchmarking something you really should benchmark stuff that you actually care about. Benchmark PHP spewing out a web page after making a couple of SQL queries, for example. That's typical usage, so that is what you should benchmark. Very few PHP scripts a

Re: [PHP] Speed comparison of PHP vs. PERL (not conclusive)

2002-05-31 Thread Ilia A.
Does this mean that running a comparison benchmarks between PHP and any other language would in many cases show PHP to be slower simply because it's looping code is slow? Unless, timing is done on a speed of PHP being able to spew out webpages via the webserver with a webserver benchmark tool s

Re: [PHP] Speed comparison of PHP vs. PERL (not conclusive)

2002-05-31 Thread Rasmus Lerdorf
Not very surprising. Perl's looping code has always ben faster than PHP's. Highly iterative loops is really not what PHP is geared for. You are not going to write a Mandelbrot algorithm in PHP. You write it in C and drop in a super-quick extension into PHP and call mandelbrot(). -Rasmus On F

RE: [PHP] Speed of Images from DB

2001-11-30 Thread Matthew Loff
]] Sent: Friday, November 30, 2001 12:18 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Speed of Images from DB > But that could be due to server capabilities of my ISP (if he has for > example a high tech mysql-server and a relativly slow machine for apache). Probaly :-) From this page:

Re: [PHP] Speed of Images from DB

2001-11-30 Thread Julio Nobrega Trabalhando
> But that could be due to server capabilities of my ISP (if he has for > example a high tech mysql-server and a relativly slow machine for apache). Probaly :-) From this page: http://www.mysql.com/information/presentations/presentation-oscon2000-27 19/ You can read on section 'Gener

Re: [PHP] Speed of Images from DB

2001-11-30 Thread Stefan Rusterholz
I did do that for a galery-script of myself. I don't have any numbers if you'r looking for that but my personal impression was, that the picture output from the mysql-db is actually faster than reading directly from disk. But that could be due to server capabilities of my ISP (if he has for exampl

Re: [PHP] SPEED: Apache module vs. compiled?

2001-09-18 Thread Michael A. Peters
On Tue, 18 Sep 2001 10:12:05 -0700 Camille Davis <[EMAIL PROTECTED]> wrote: > Does anyone have any benchmarks or proof of a speed difference between > compiling PHP as an Apache APXS module, versus compiling it right into Apache? > > I'm going to be using it on a virtual webhost with 400 domain

Re: [PHP] Speed of loding PHP pages

2001-07-12 Thread Alexander Skwar
So sprach »Aral Balkan« am 2001-07-11 um 14:59:44 -0400 : > Personally, I couldn't be happier that Netscape won't be making browsers Ah, so Microsoft also stopped making "operating systems"? > anymore and I wish that trouble-some bug of an excuse for a browser would > just go away :) Well, Nets

Re: [PHP] Speed of loding PHP pages

2001-07-11 Thread Aral Balkan
>> Netscape is notoriously slug-like when it comes to loading large tables (i.e. the output of phpinfo()). A way around this is to break up large tables into numerous smaller ones (or at least have one table at the top that displays something so that the user doesn't think that things have gone a

RE: [PHP] Speed of loding PHP pages

2001-07-11 Thread scott [gts]
age- > From: Inércia Sensorial [mailto:[EMAIL PROTECTED]] > Subject: Re: [PHP] Speed of loding PHP pages > > > > No. It also depends on the internal engine used by the browser to > 'contruct' the elements. On Windows plataforms, Netscape are slower to > render

Re: [PHP] Speed of loding PHP pages

2001-07-11 Thread Inércia Sensorial
No. It also depends on the internal engine used by the browser to 'contruct' the elements. On Windows plataforms, Netscape are slower to render cached pages. But IE has an advantage, it is built around some native windows functionalities, one of the reasons it is faster. I don't know for other

RE: [PHP] Speed of loding PHP pages

2001-07-11 Thread Brian S. Dunworth
Are IE and Netscape both set the same as far as caching? - Brian S. Dunworth Sr. Software Development Engineer Oracle Database Administrator The Printing House, Ltd. (850) 875-1500 x225 <[EMAIL PROTECTED]>

Re: [PHP] Speed of loding PHP pages

2001-07-11 Thread Alexander Wagner
Don wrote: > Has anyone tries any test loading PHP pages into IE 5.x and Netscape > 4.7x? This is in no way related to PHP. It's just the old Netscape taking lots of time for +rendering large pages, especially with nested tables. regards Wagner -- Madness takes its toll. Please have exact cha

Re: [PHP] Speed of loding PHP pages

2001-07-11 Thread infoz
Netscape is notoriously slug-like when it comes to loading large tables (i.e. the output of phpinfo()). - Tim > As an experiment, I have a page that issues a phpinfo(). WIth I.E. 5.5, > it takes about 3 seconds. With Netscape 4.77, it takes almost 20 > seconds. -- PHP General Mailing List

Re: [PHP] Speed of MySQL connections - Socket vs. Non-Socket

2001-04-17 Thread Alexander Skwar
So sprach Don Read am Tue, Apr 17, 2001 at 06:06:53PM -0500: > I have with 3.0.18 installed (to match customers), 'localhost' will use the > /tmp/mysql.sock. This may have changed under 4.x. Oh, yes, you are right! Thanks a lot - would have thought that I'd need to say 'localhost:/tmp/mysql.sock

Re: [PHP] Speed of MySQL connections - Socket vs. Non-Socket

2001-04-17 Thread Alexander Skwar
So sprach Don Read am Tue, Apr 17, 2001 at 05:13:14PM -0500: > define('DBHOST', 'localhost'); > // define('DBHOST', 'myhost.domain.com'); > > define('QRY', 'select * from foo'); > > $db=mysql_connect(DBHOST, DBUSER, DBPASS); > if ( $db ) > testquery(QRY); > > > ?> > > s

Re: [PHP] Speed of MySQL connections - Socket vs. Non-Socket

2001-04-17 Thread Alexander Skwar
So sprach Christian Reiniger am Tue, Apr 17, 2001 at 02:01:48PM +0200: > run "ab" (comes with apache) on two scripts, one using method A > repeatedly, the other using method B repeatedly Thanks, will do. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (engl

Re: [PHP] Speed of MySQL connections - Socket vs. Non-Socket

2001-04-17 Thread Alexander Skwar
So sprach Don Read am Tue, Apr 17, 2001 at 02:14:41PM -0500: > Yes, from my memory of the mysql list; AF_INET is 7% slower then AF_UNIX in > data thru-put. Plus you have to add in the connection build & tear-down time. That's exactly what I'd expect. Hmm, so I take it, I should also ask on the

RE: [PHP] Speed of MySQL connections - Socket vs. Non-Socket

2001-04-17 Thread Don Read
On 16-Apr-01 Alexander Skwar wrote: > Hello! > > In a mysql_connect() it is possible to specify a path to the socket which > should be used for communicating with MySQL. > > Now, when I connect thru a socket, is the datatransfer between PHP and MySQL > faster than when I connect via a (loop-)ne

Re: [PHP] Speed of MySQL connections - Socket vs. Non-Socket

2001-04-17 Thread Christian Reiniger
On Tuesday 17 April 2001 02:10, you wrote: > So sprach Brian Clark am Mon, Apr 16, 2001 at 08:01:04PM -0400: > > Ahhh, yes, I see that was stupid. Sorry, Alexander. :) > > Ah, thanks Joe for clearing up this confusion :)) > > Now that this is sorted out: What might be the best way to do some > be

Re: [PHP] Speed of MySQL connections - Socket vs. Non-Socket

2001-04-16 Thread Alexander Skwar
So sprach Brian Clark am Mon, Apr 16, 2001 at 08:01:04PM -0400: > Ahhh, yes, I see that was stupid. Sorry, Alexander. :) Ah, thanks Joe for clearing up this confusion :)) Now that this is sorted out: What might be the best way to do some benchmarking wrt. this? (Links are fine) Alexander Skwa

Re: [PHP] Speed of MySQL connections - Socket vs. Non-Socket

2001-04-16 Thread Alexander Skwar
So sprach Brian Clark am Mon, Apr 16, 2001 at 07:37:54PM -0400: > > In a mysql_connect() it is possible to specify a path to the socket > > which should be used for communicating with MySQL. > > Yes. [string hostname [:port] [:/path/to/socket] And again: There's no question in the sentence above

Re: [PHP] Speed of MySQL connections - Socket vs. Non-Socket

2001-04-16 Thread Alexander Skwar
So sprach [EMAIL PROTECTED] am Tue, Apr 17, 2001 at 01:55:01AM +0200: > I haven't to read the manual again. This is very well documented in the > manual. If I remember correctly, I have put this lines into the PHP > manual. Pardon me, but where is it very well documented what I asked about? Cer

Re: [PHP] Speed of MySQL connections - Socket vs. Non-Socket

2001-04-16 Thread Brian Clark
Hi Joe, @ 8:04:08 PM on 4/16/2001, Joe Sheble (Wizaerd) wrote: ... >> > In a mysql_connect() it is possible to specify a path to the socket ^^ >> > which should be used for communicating with MySQL. >> >> Yes. [string hostname [:port] [:/path/to/socket] >

RE: [PHP] Speed of MySQL connections - Socket vs. Non-Socket

2001-04-16 Thread Joe Sheble \(Wizaerd\)
> > Please read again what I wrote > > OK. > > > In a mysql_connect() it is possible to specify a path to the socket > > which should be used for communicating with MySQL. > > Yes. [string hostname [:port] [:/path/to/socket] It's not a question. It is a statement prefecaing the real question

Re: [PHP] Speed of MySQL connections - Socket vs. Non-Socket

2001-04-16 Thread eschmid+sic
On Tue, Apr 17, 2001 at 01:29:45AM +0200, Alexander Skwar wrote: > So sprach Brian Clark am Mon, Apr 16, 2001 at 07:17:43PM -0400: > > > In a mysql_connect() it is possible to specify a path to the socket > > > which should be used for communicating with MySQL. > > > > Yes, it's in the documentat

Re: [PHP] Speed of MySQL connections - Socket vs. Non-Socket

2001-04-16 Thread Brian Clark
Hi Alexander, @ 7:29:45 PM on 4/16/2001, Alexander Skwar wrote: ... > Please read again what I wrote OK. > In a mysql_connect() it is possible to specify a path to the socket > which should be used for communicating with MySQL. Yes. [string hostname [:port] [:/path/to/socket] > Now, when

Re: [PHP] Speed of MySQL connections - Socket vs. Non-Socket

2001-04-16 Thread Alexander Skwar
So sprach Brian Clark am Mon, Apr 16, 2001 at 07:17:43PM -0400: > > In a mysql_connect() it is possible to specify a path to the socket > > which should be used for communicating with MySQL. > > Yes, it's in the documentation. Please read again what I wrote Alexander Skwar -- How to quote:

Re: [PHP] Speed of MySQL connections - Socket vs. Non-Socket

2001-04-16 Thread Brian Clark
Hi Alexander, @ 6:55:58 PM on 4/16/2001, Alexander Skwar wrote: ... > In a mysql_connect() it is possible to specify a path to the socket > which should be used for communicating with MySQL. Yes, it's in the documentation. int mysql_connect ([string hostname [:port] [:/path/to/socket]