Memcached and “N” things you can do with it – Part 1

In my last post, MySQL Query Cache, WP-Cache, APC, Memcache – What to choose, I discussed in brief about 4 caching technologies which you might have used knowingly or unknowingly. Towards the end, we came to the conclusion that Memcached is the best caching solution when you are looking for speed and number of hits per second. By my experience, Memcached is capable of handling more than 100 Million PV’s …

MySQL Query Cache, WP-Cache, APC, Memcache – What to choose

Hello Cache Freaks, Ever since I changed my job (from Business Intelligence to Web development) and started working with my present employer, I have had a chance to work on a lot of scalable projects. From making my project to scale from 20 Million PV’s to 100 Million PV’s to development of an internal tool, the answer to all scalable applications have been caching. There are a lot of caching …

New Year, New Server and a New Theme

Hello Everyone, I wish I could have finished this task by 1st January, but nevertheless it’s finally done. Finally I have a new self designed wordpress theme named “Jhantu”. Also I have moved my blog from a shared hosting to my VPS due to increasing traffic. Transition from one server to another is always painful. Here are the steps which I followed to make my server move smooth: I took …

How to get dzone feeds as IM using JAXL? Add [email protected]

The most funny part of knowing XMPP protocol is that you can execute all your daily web needs using it. Be it playing anagram online or achieving your status messages. And your life gets easy if you are using an XMPP Client Library like JAXL. Here I have tried to create a simple bot which allows you to read newest links posted on dzone category wise. Simply add [email protected] in …

Introducing JAXL – Open Source Jabber XMPP Library

Introduction JAXL stands for “Jabber XMPP Library“. For fun, it stands for “Just Another XMPP Library” This library currently supports following features: Connect to a Jabber Server (e.g. Gtalk) TLS Encryption DIGEST-MD5 and PLAIN authentication mechanisms Roster Support Library comes with the following class files: config.ini.php : Holds your jabber account and mysql connection information mysql.class.php : Basic MySQL connection class used to insert received messages and presence into MySQL …

Behind the scenes – How and What XML’s are exchanged by JAXL

Pre-requisite Though it’s not mandatory but will be helpful if you have given a casual reading to the following RFC’s: Extensible Messaging and Presence Protocol(XMPP):Core Extensible Messaging and Presence Protocol(XMPP):Instant Messaging and Presence Case Study: Google Talk Server JAXL Sends >> <!–?xml version=”1.0″?–> <stream:stream xmlns:stream=“http://etherx.jabber.org/streams” version=“1.0” xmlns=“jabber:client” to=“gmail.com” xml:lang=“en” xmlns:xml=“http://www.w3.org/XML/1998/namespace”></stream:stream> Gtalk Acknowledges With >> <!–?xml version=”1.0″ encoding=”UTF-8″?–> <stream:stream from=“gmail.com” id=“981E0522D7363BDF” version=“1.0” xmlns:stream=“http://etherx.jabber.org/streams” xmlns=“jabber:client”> <stream:features>   <starttls xmlns=“urn:ietf:params:xml:ns:xmpp-tls”>     <required>   </required></starttls>   <mechanisms xmlns=“urn:ietf:params:xml:ns:xmpp-sasl”>     <mechanism>X-GOOGLE-TOKEN</mechanism>   </mechanisms> </stream:features></stream:stream> JAXL Sends >> <starttls xmlns=“urn:ietf:params:xml:ns:xmpp-tls”></starttls> Gtalk Acknowledges With >> <proceed xmlns=“urn:ietf:params:xml:ns:xmpp-tls”></proceed> JAXL Sends >> <!–?xml version=”1.0″?–> …