Archive for June, 2011

Android: Freedoms, Truths, and Myths

Since the introduction of the Android OS by Google, there has been tons of hoopla about what Android is, what Android does, and what sets it apart. These aspects of Android have been manipulated and misconstrued by the media, and subsequently by the public, resulting in a poor understanding of what Android is. (more…)

Glossary: Queue

A queue, in our context, is a way of lining up requests, and having a program that processes those. Basically, it’s a way of saying “do this later”. It might still be done immediately, but for a variety of reasons it may not happen immediately. The purpose of the queue may not to be “do it later”, but that will happen regardless. The purpose of a queue can be anything from fixing a performance problem, to preventing performance spikes, to delaying a request a minimum amount of time or a number of other reasons. (more…)

PHP/MySQL Performance Series: Part 4 – Schedule that Cron

Crons can solve a lot of problems, but they can also create a lot of problems so be careful.

Usually you’ll make a cron to fix a specific problem, or to create a queue. There aren’t a whole lot of “standard” crons that we can discuss. (more…)

PHP/MySQL Performance Series: Part 2 – Creating a Queue

The Queue.

It’s a wonderful thing. Queues are a great way to deal with performance issues. Generally, from an end-user perspective they make the system appear to work very quickly.

This is #2 in our series because if you are searching for information on performance fixes, chance’s are you need a quick fix of some type. Queues are a great quick fix, they are also suitable for long-term implementation, and can solve a variety of problems, however they are only useful in certain situations so don’t get overzealous. (more…)