… XMLs into mysql database with PHP script, I was thinking about PHP alternatives. Why do I need that ? 1. PHP is slow – I’m…. One problem with these languages they work as fast as PHP if believe to Shootout Benchmarks, so I’m not sure I should replace PHP on Perl/Ruby. However, taking into account increasing popularity of…
Post: PHP Large result sets and summary tables.
… small tables… but not for larger ones. First problem was PHP script generating the table took 10GB of RAM and was… rows. Note this limit is not controlled by memory_limit PHP config variable because that only controls memory which passes via… SQL commands and it can be much more efficient. Another alternative is of course to use MySQL Stored Procedures which can…
Post: Content delivery system design mistakes
… of keep-alive connections. Lighttpd is often named as faster alternative. It is surely true if you server static content from… needs to be enforced. Serving file by simply reading from PHP or any other heavy programming language and sending it back… as lighttpd tries to buffer all content it gets from PHP script which means many megabytes for large files. Partial file…
Post: Cache Performance Comparison
… of queries to MySQL parsing may be performance bottleneck, assuming PHP opcode cache is not used. Also different applications may have…. I used two baselines for comparison. First is speed of PHP Associative array. This is to show kind of peak speed… you might take a look at Eaccelerator which is APC alternative which supports caching user data both on disk and in…
Post: Caching could be the last thing you want to do
I recently had a run-in with a very popular PHP ecommerce package which makes me want to voice a recurring… many cache items being invalidated at the same time? What alternative approach should be taken? Caching should be seen more as….” – a quote from Justin’s slides on instrumentation-for-php. In terms of future-proofing design, many applications are…
Comment: Enabling/Disabling query log without server restart in MySQL 5.0
Hi, As an alternative, you can enable a log on-the fly, in any … with an appropriate script. http://forge.mysql.com/snippets/view.php?id=81 To reroute the traffic without need of disconnecting… use a IPTABLES command http://forge.mysql.com/snippets/view.php?id=82 Cheers Giuseppe
Comment: Alternatives of PHP ?
… line
: simplexml_load_string(file_get_contents($filename)); http://www.php.net/simplexml_load_file Also as long as you use… all use libxml (except if you use sablotron or other alternatives). If you like to limit your memory usage (in a… fits best), it does not matter if you develop with PHP (or any other language) since N years or 2 months…
Comment: Alternatives of PHP ?
… Perl is a good alternative. I agree with Guiseppe. I have been programming Perl for 8 years and PHP for 6, and…. I too have never found a good CLI debugger for PHP. There are ones but it can be very frustrating to…
Post: Speedup your LAMP stack with LigHTTPD
… to stick to at least for dynamic content served by PHP or ModPerl. With “client per process” you end up having… does not eliminate all problems. Use FastCGI instead of mod_php etc. Apache itself without any programming language modules is light… one – I simply did not test too much of other alternatives as it already worked well. There are few features which…
Comment: Apache PHP MySQL and Runaway Scripts
Thanks Rasmus, But what is about using this approach for PHP-FastCGI, Which is exactly environment which I found it working… if we stick to apache what do you propose as alternative ? To have some watchdog script checking running scripts and killing…

