June 19, 2013

Post: Are PHP persistent connections evil ?

… you probably know PHP “mysql” extension supported persistent connections but they were disabled in new “mysqli” extension, which is probably one of… to swap aggressively. This is where connection pooling would be extremely helpful but with default Processed based PHP installations it does not… are running. Most of them will be just holding keep-alive while still keeping MySQL connection open, others will serve static…

Post: Content delivery system design mistakes

… one is pretty interesting. Many learned apache is not good for serving static content especially with many thousands of keep-alive connections. Lighttpd is often named as faster alternative. It is… as lighttpd tries to buffer all content it gets from PHP script which means many megabytes for large files. Partial file…

Post: Speedup your LAMP stack with LigHTTPD

… doing keepalive. So why do you need many processes ? Keep alive is one thing, which you can disable of course. But the… keep alive and does not eliminate all problems. Use FastCGI instead of mod_php etc. Apache itself without any programming language modules is… you have proxy server spoonfeeding the clients, doing keep-alive and your apache is relieved from this job, so you can shrink…

Post: Why do you need many apache children ?

… seconds or use some caching or lower timeout is other story :) Handling Keep Alive – Keep alive connection in Apache keeps child busy and… them. For dynamic pages you typically do not need keep alive enabled and you’d better to server images from some… with modern PHP applications each apache children may require 64MB of memory, sometimes even more. Part of this memory is kept between…

Comment: InnoDB vs MyISAM vs Falcon benchmarks - part 1

…. software bottleneck (blocking threads) etc. Is it possible with PHPTestSuite? WOW!!! Is it multithreaded version of PHP, or pre-fork ;) The most important… for modern distributed enterprise network applications. 1 second is “excellent”, and 10 seconds is “maximum allowable”. “Concurrent users” have a behavior: 2… (2Mhz CPU, 2Gb RAM, 20kb static HTML, mem-cache, keep-alive, …). Can MySQL back-end support 20000 concurrent users making simple…