PHP Engines

Next Generation PHP Engines: HHVM/PHP-5.5/PHPNG

HHVM: In looking for an infrastructure to comput more efficiently HHPM an efficient PHP Engine was developed by Facebook . Commonly know as HipHop for PHP. HHPM is an intermediate bytecode language which translate PHP to native code through JIT(Just In time Compiler).PHP is simple to learn, read, write, and debug.Through HHPM CPU usage can be […]

Drupal modules

A quick start to Drupal Testing for modules/themes

Drupal can be extended by composing your own module as per the needs.Before taking you through the practical guide I will be giving you a lime light of what a module is? What is a Drupal Module? A set of files with some special features and functionalities makes a module. The purpose behind this is […]

Web Architecture

Central Authentication System: CAS

History of CAS Yale University originally created an open standards to integrate with many applications and systems called as Central Authentication Service. It is an authentication system with single sign on service and is an open and well-documented protocol. The protocol includes a client web browser, a web application requesting authentication (of the CAS consumer) and a […]

DataBase Management System


Comparing CUBRID and My SQL isn’t simple both being open source SQL-based relational database management systems are heavy competitors of each other.CUBRID is just like MySQL but when it comes in terms of fastness,especially in those cases when a web application generates huge concurrent requests CUBRID is far ahead of MySQL.To start up with I have […]


CSS Pre-Processors with Super Powers

CSS Pre-Processors with Super Powers … (SASS/LESS/Stylus) A program or software installed on developer’s computer that receives a set of input data to produce certain output that will be used as input by another process is what we call is as Pre-processor. In our case of CSS Pre-Processors, its one or several files in a […]

Web Architecture

Scaling web applications: Part 3 – Horizontal Scaling

Till now we have tried to extract more and more meat out of a single machine (vertical scaling) i e adding faster CPU, more RAM, SSD and adding certain tools Varnish cache to enable us to handle more traffic. This has a limit to it ,depending on the architecture of the application that needs to be […]


Scaling web applications: Part 2- Caching Strategy

So now your site is handling a rush of traffic; I am assuming you have a VPS/dedicated server and you have added more RAM & CPU cores to your server and hit a peak point there.And of course you have setup a CDN much before you landed at this junction. Your web server (ideally nginx) […]

Uncategorized Web Architecture

Scaling web applications: Part 1- Why use a CDN

We have been struggling to scale our applications and felt the need to add a real world perspective to the whole process of scaling up web applications. This post forms part of a series, devised to explore and lay down the nuts and bolts of the using different  tools and processes to handle scaling web […]

Server Administration Web Architecture

Caching strategy – Using varnish to handle high traffic

Varnish is an HTTP accelerator and is used as a caching strategy to reduce load on web server… you can find great guides on how to set it up and get started.But the more elusive question is WHEN TO USE VARNISH? Trying to streamline the caching strategy, we often had to rethink when to use Varnish. […]

How To Javascript Node JS Programming

[How To] Implement Passport.js Authentication with Sails.js

Here we intend to demonstrate the procedure of local authentication i.e. by using a username and password. Step 1: Dependencies passport passport-local bcrypt List these dependencies inside application_directory/package.json  under dependencies. //application_directory/package.json { … “dependencies”: { … “passport”: “~0.1.16”, “passport-local”: “~0.1.6”, “bcrypt”: “~0.7.6” } … } Step 2: Create user model To create user model run […]