Archive for the ‘Tutorials’ Category

memcached telnet commands

Sunday, September 19th, 2010

You can access and control your memcached installation, using simple telnet commands. Use ps -ef to determine on which port and ip you memcached server is running and connect to it:

telnet localhost 11211

The list of commands is as follows:

(more…)

Faking a very fast DNS change and propagation

Tuesday, August 24th, 2010

So you need to transfer high traffic, dynamic site with the minimum possible amount of down time.

Just reducing the DNS TTL’s won’t always work as expected, as many providers have been reported to ignore the TTL values.

So, instead of just changing the TTL to a small value and pray, there is a small hack you can apply to this particular situation. (more…)

Setup and configure memcached on a linux PHP webserver

Monday, August 23rd, 2010

This is my short tutorial of how to set up, use and monitor memcached on a PHP web server.

My webserver is a CentOS 5 webserver with cPanel. (more…)