delay times, threads
Running Unix, Apache, MySQL and PHP, should I worry about delay times, and will the server always present the user with the latest database update (after a possible delay)? Suppose a user can add a new row to a database in a PHP page with a form, and after submit, the next page he will see is a page displaying part of the same database, hopefully with his new row on top. Questions: A) will he always see the new data which he entered just a second before? B) How much delay could there be. In other words, how multi-tasking is PHP; will it run the next script line, even when a previous line (a MySQL query) has not been completed yet? And will MySQL execute a next (non-update) query, when the precious one is not done yet? I think that last question has the beginnings of an answer in it... :-) Thanks a lot; this is a great mailing list! (please email me directly, I am not signed up) Marco | | Marco Bleeker, Amsterdam | [EMAIL PROTECTED] | http://www.euronet.nl/users/mbleeker/ | | Attachments only after prior notice please. | Don't put me on any kind of mailing list. | | I am now receiving the Snowhite virus 4x a day | - some of you must be infected, please check ! | (No, you did not get it from me, I use Eudora) | __@ | _`\,_ |__(*)/ (*)Ah, op DIE fiets ! - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: delay times, threads
Suppose a user can add a new row to a database in a PHP page with a form, and after submit, the next page he will see is a page displaying part of the same database, hopefully with his new row on top. Questions: A) will he always see the new data which he entered just a second before? Yes. B) How much delay could there be. In other words, how multi-tasking is PHP; will it run the next script line, even when a previous line (a MySQL query) has not been completed yet? And will MySQL execute a next (non-update) query, when the precious one is not done yet? I think that last question has the beginnings of an answer in it... :-) Nothing to do with multitasking. You invoke a program which is executed line by line. php has to wait for mysql to get any return code for further processing. -- Herzlich Werner Stuerenburg _ ISIS Verlag, Teut 3, D-32683 Barntrup-Alverdissen Tel 0(049) 5224-997 407 ยท Fax 0(049) 5224-997 409 http://pferdezeitung.de - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
delay times, threads
Running Unix, Apache, MySQL and PHP, should I worry about delay times, and will the server always present the user with the latest database update (after a possible delay)? Suppose a user can add a new row to a database in a PHP page with a form, and after submit, the next page he will see is a page displaying part of the same database, hopefully with his new row on top. Questions: A) will he always see the new data which he entered just a second before? B) How much delay could there be. In other words, how multi-tasking is PHP; will it run the next script line, even when a previous line (a MySQL query) has not been completed yet? And will MySQL execute a next (non-update) query, when the precious one is not done yet? I think that last question has the beginnings of an answer in it... :-) Thanks a lot; this is a great mailing list! (please email me directly, I am not signed up) Marco | | Marco Bleeker, Amsterdam | [EMAIL PROTECTED] | http://www.euronet.nl/users/mbleeker/ | | Attachments only after prior notice please. | Don't put me on any kind of mailing list. | | I am now receiving the Snowhite virus 4x a day | - some of you must be infected, please check ! | (No, you did not get it from me, I use Eudora) | __@ | _`\,_ |__(*)/ (*)Ah, op DIE fiets ! - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php