IBM i Apache Directives Measure Request Speeds

Apache HTTP Server ProjectSpeed is critical when serving APIs and web pages from IBM i. How can we measure our speed? The IBM HTTP Server (powered by Apache) for i can log the speed of each request, but this capability needs to be turned on.

Default values in the Apache access log include the request’s URL, the HTTP status code, size of the response in bytes, and the user agent (e.g. browser type), but not how long the request took. Let’s see how to add the timing.

Read more

Simplify with Subsystems

IBM iA major differentiator of the IBM i operating system is the use of subsystems to separate workloads, often for managing memory and optimizing performance. While those are still valid reasons for separating work into multiple subsystems, today’s large memory sizes and fast processors reduce the need to optimize performance in this way.

In this article, I’ll explain how subsystems can make today’s web-oriented application workloads much easier to manage. Read more

Alan’s PHP Tips to Wow Your Users [VIDEO]

“The order entry app is hanging again!”  Nobody wins when your system is slow or stuck.

Find out how the best IBM i teams keep their users happy and productive with snappy PHP applications. In this video, Alan shares tips to optimize PHP websites and APIs for improved speed and stability. He explains why newer PHP versions are inherently faster and offer smoother migrations. He also details how to use Apache’s mod_deflate, look for network issues and bots, manage session clean-up, prepare for business growth, improve PHP Db2 performance, profile your application, and much more.

Read more

Speed Up Web Pages and APIs Using Apache’s mod_deflate

Apache HTTP Server ProjectWhen we do performance assessments for web applications and APIs running on HTTP Server (Powered by Apache) for i, one of the first things we do is enable a powerful Apache extension called mod_deflate. Just as zipping up files on your PC saves space and accelerates file transfers, mod_deflate compresses output from your server before sending it over your network.

Does it really work? My tests show a speed improvement of 10 to 50 percent!

Read more

Configure IBM i Apache Threads For Higher Traffic

When your site gets busy, your web server may need a configuration change to handle the load. We often start with the Apache web server’s ThreadsPerChild directive.

ThreadsPerChild controls how many connections can exist at once. Defaulting to 40, its value can be set in your Apache instance configuration file (for example, /www/zendphp7/httpd.conf):

Read more

Video promo for COMMON conference May 15-18, 2016

Join me for the 2016 COMMON Annual Meeting and Exposition, May 15-18, with pre-conference workshops May 14. Don’t miss New Orleans!

Learn about IBM i 7.3, open source languages, security, and more.

Alan will speak about PHP, SQL, performance, and how to relax your neck, back, and shoulders at the keyboard. Also looking forward to spending time with the gang from “Club Seiden.”
https://www.common.org

PHP performance webinar, June 11, 2015

Update: a recording of the webinar is available to all registrants. See the link below to register.

——–

I’ll be presenting a free webinar, “How to ensure speedy PHP applications on IBM i,” on Thursday, June 11, 2015, at 1pm Eastern/New York time. The webinar is sponsored by BCD. Registration and more information: http://www.bcdsoftware.com/bcdtracks/webinars/ondemand/php-performance-alan.htm

“Our process now runs 30-50% faster, thanks to one tip from Alan’s presentation.”
— Mike Meszaros, Software Developer, Specialty Pipe & Tube