[PHP] speeding a site with lots of includes

2001-03-05 Thread Eduardo Dominguez
An app I am currently developing has grown a lot. It currently handles aproximately 12 includes, more or less 13 thousand lines of code. By doing some benchmarks, i realized that the bottleneck is the include() payload. How can I optimize a program like this one ? thanks in advance -- PHP Ge

[PHP] help: Mysql locking tables and persistent connections..

2001-02-13 Thread Eduardo Dominguez
I am trying to avoid some concurrency problems by using locking tables in mysql. Problem is, I already locked the tables and still had a concurrency problem. Our first guess is that since we are accesing the table with the same user, then when it ignores the log since it is the same user. But thi