… was what I was going to write about. I’ve been meaning to come up with a solution where I could do a combination of regular HTTP requests combined with Web Sockets combined with Redis to send messages easily back and forth between the backend and the frontend. My thought was that I might be able to take Nginx, which has WebSockets proxy support and combine it with Redis to create a means of facilitating communication between a frontend browser user and any backend asynchronous tasks that might have pertinent messages to
I was giving the Magento Performance and Optimization for System Administrator’s course today and I said something that is either borderline brilliant, stupid, or common knowledge. What I said was something along the lines of “finding performance problems is about finding a) correlations, or b) deviations“. In other words, a big part of determining a performance problem, especially when using instrumentation data as opposed to reviewing code, a prime goal is to find data that correlates or deviates. To illustrate this I rendered 4 charts top illustrate what I meant.
When you get to be my age you start thinking about the future. You start wondering if some of the choices you made when you were younger. You wonder if those choices are going to come back and haunt you. If you don’t have such thoughts you are either an idiot, or a young person without enough experience to make you think such things. One of the things that I have been wondering about is whether my decision to focus on PHP several years ago was the right one. Technology
I read an article today about how PHP is exploding on Google App Engine. How is it that one of the most despised programming languages in the word is running (as Google claims) up to 75% of the web? Many nay-sayers will say “oh it’s just WordPress” or “oh, it’s just PHPbb”. But in doing that they are completely missing the point. The proper response to this is not trying to dismiss it, but asking why it is that PHP-based applications just seem to always be the ones at the
I love most things about PHP, but what I don’t like is that in order for me to do any kind of asynchronous processing I need to create an infrastructure. In other words, I need to build a queuing daemon or build some kind of interface. It really shouldn’t be that much work for what is a simple task in many other languages. So it would be really cool if PHP-FPM had a FIFO/delayed queue where you could inject a FastCGI request into the queue and do either fire and