Horizontally scaling PHP applications

One of the most common worries of the enterprise IT world about WordPress and other Open Source apps it’s how you can scale it — which it’s kind of ironic when their enterprise-y web services response times are usually measured in the scale of tens of seconds…

DigitalOcean has published a high-level practical-overview on horizontally scaling PHP apps that’s a good starting point and I guess it could also apply to other kinds of apps as well.

Zero rating is bad for net neutrality

You’ve probably hear the saying that goes “the road to hell it’s paved with good intentions”… well, you might say something similar of zero-rating, the “new battleground for net neutrality“.

After just about everyone could agree that paying extra for premium access to some types of content it’s “A bad thing”, zero rating turns the situation on its feet: “here, have some Facebook and WhatsApp for free… but nothing else”, which it’s not only the immediate opposite of an Open Internet, but also a long-term threat to the kind of innovation and opportunities that we would like to see as an effect of a free and gratis Internet.

… of course, there might be some honorable exceptions and there should be a clear criteria for judging them (the linked article is in spanish).

Read more on Zero Rating and the Open Internet and Mozilla View on Zero-Rating.

Backups are simple

… or they should be, anyway.

I think that one of the more popular excuses around for not having backups it’s “I haven’t gotten to it”; usually because you don’t have the time to try that fantastic tutorial you found for encrypted-incremental-automatic-deduplicated-control-versioned-backups on Amazon S3.

The thing it’s… it’s ok if you don’t have time for it, because it means you’re doing your job… which very likely isn’t Chief Backups Officer. What it’s not ok it’s that you keep postponing your backups!

That’s why I think that when you’re first configuring your server you should immediately configure some sort of backup that:

  1. It’s very quick to setup, so you actually do it
  2. It’s easy to restore from, so it’s actually useful

And since I’m assuming you’re not an idiot, I know you’ll do your best to keep them safe; which doesn’t mean creating some new fancy encryption scheme but using existing tools to do the job (for instance, ssh and rsync are both encrypted, so they’re good enough for transmitting the data to another server).

I’m sure there are plenty cool alternatives to keep your data safe, but the truth it’s that if they don’t comply with these two basic requirements you should wonder if there’s a better, simpler way.