Moving out of the cloud

By Josh Sherman
6 min read
scenekids
development
hosting
linode
digitalocean
hivelocity
nodebalancer

It’s been nearly 4 years since I made the switch from a dedicated server to the cloud. It was August 15th, 2009 and I was tired of how much I was paying for a dedicated server, even considering that I was only covering half of the cost with my friend […]

How to Install the Memcached Module on Ubuntu 12.04 LTS

By Josh Sherman
1 min read
development
php
memcached
linux
ubuntu

Installing the Memcached module for PHP on Ubuntu 12.04 LTS is as simple as can be. First let’s make sure we have Memcached installed: sudo apt-get install memcached On Ubuntu, the process to install the PHP module is similar to how we installed Memcached itself: sudo apt-get install php5-memcache php5-memcached […]

SQLite as a PHP Session Handler

By Josh Sherman
1 min read
development
php
database
sqlite

Now that I’ve discussed the in-memory data stores (NoSQL if you will) let’s switch gears to a more traditional RDBMS. SQLite by definition is a software library that implement a self-contained server-less, zero-configuration, transactional SQL database engine. It’s more important claim to fame is that it is the most widely […]

Redis as a PHP Session Handler

By Josh Sherman
2 min read
development
php
redis

Redis is one of my favorite key-value stores, the range of data types alone make it a must have in any developer”s tool belt. Another great use for Redis is as your session handler in PHP. The optional persistence that Redis provides makes it a better option than using Memcached […]

Memcached as a PHP Session Handler

By Josh Sherman
2 min read
development
php
memcached

Memcached makes a semi-perfect solution for storing your PHP sessions. Why only semi-perfect? Well in Memcached’s defense, the fact that it is an in-memory data store makes it a great choice because of the speed. The negative is the lack of persistence, which makes it somewhat less desirable. What this […]