Category: Programming

Optimize PHP-FPM on VestaCP

We had seen installing VestaCP in our budget website tutorial series. VestaCP provides an easy to use web interface to manage and maintain your datacenter. VestaCP comes with PHP-FPM and there are a lot of different ways to efficiently configure it for optimal performance. On one of our datacenter which we manage was consuming more

Getting Started With Docker

Virtualization softwares have been in the market since ages. But there has always been a race to create more efficient and high performance platforms among the developers. Few years ago, this lead in the development of yet another virtualization platform — Docker. Docker is a wee bit different than the traditional virtualization platforms. Docker is

HTML Data Table for Email

HMTL Data Tables in emails are important for notification’s and other places to display information cleanly. Since only in-line CSS is rendered properly across all email clients its imperative that HTML data table has a proper markup to render it cleanly. So, here is a small code snippet for an HTML data table that renders

Install and Configure Elasticsearch

Elasticsearch is a great tool for indexing huge amount of data and creating a search or analytics engine. It has a potential of solving large number of use cases. Its based on Apache Lucene and provides a RESTful interface which makes it easy to integrate with any technology. This article describes the very basic Elasticsearch installation and

npm@5 Now Available

npm is now out with its latest version. Starting 31st May 2017 typing npm install npm@latest -g will install npm@5. The latest release is aimed at making it a faster client, as measured by benchmarking and profiling tools available to everyone; a much improved version of npm-shrinkwrap.json, npm’s lockfile. In particular, shrinkwrap was originally intended

Creating A Simple HTTP Server In node.js

node.js is still considered to be the new mischievous kid on the block. node.js is an event-driven JavaScript platform. It is a light-weight and efficient framework. Its efficiency in terms of speed and and high throughput has been derived due to its non-blocking (aka Asynchronous) I/O model. Along with many things Node.js can be used as

Nginx Configration For node.js

Nginx has become the most important player in web server’s. With very low footprint and easy virtual host configuration, Nginx is becoming more and more popular among Developers and System Admins. There is a lot of struggle when it comes to configure Nginx with Node.js. A Node.js app can be started on any free port