ItecSoftware Logo

Testing Memcached Using Telnet Commands

memcached telnet

Troubleshooting memcached is not so transparent as some other technologies, but testing memcached using telnet commands can give us quite some insight on what’s happening under the hood.

The following tutorial on testing memcached with telnet from the command line is a short list of useful commands to inspect a running memcached instance.

How to find the IP address and port to connect ps aux | grep memcached

The above will give us the process running memcached, with listening ip address and port. If ...

read more

Listed in Linux, Web Development

Tags: memcache, memcached, telnet

Hot To Install Memcache PHP On Mac OS X

install memcache php on mac osx

I recently installed the memcached daemon on my MacBook Pro, including the necessary PHP client for development purposes. I just prefer to work locally instead of using a VM running Linux. And the process is actually quite simple and straight forward. Please note, I have included both clients, the old standard one and the newer PECL extension, because I deal with different applications and also lots of people seems to get confused when they install one version and their memcache ...

read more

Listed in Mac, Web Development

Tags: apache, memcache, memcached, PECL, php, php5-memache

Nginx and memcached module

nginx memcache

Memcache is traditionally used as a module inside server side scripts, such as PHP, ASP, ColdFusion and others. And it’s doing a terrific job, as long as it’s implemented correctly.

But if we look under the hood of the actual Memcache application, and I’m not talking about the PHP or ASP extension, but rather the executable that’s running as a daemon under Linux, it is a rather simple, database like application running in memory. Now there are two basic actions that ...

read more

Listed in Linux, MySQL, SEO, Shell Scripting, Useful Stuff, Web Development

Tags: apache, memcache, nginx, php