Quantcast
Channel: Systems Architect » Linux
Browsing all 13 articles
Browse latest View live

Setup Virtual Host in 0 sec

Creating a new web application in a development environment looks always the same. Download source code, create a new virtual host and add an entry to the etc/host file. It doesn’t take a great amount...

View Article



Connecting PHP with Arduino via serial port on Linux

Arduino changed the word. Everybody can make an astonishing project without a degree in electronic. If you are a programmer soon or later you will get an idea of connecting it to a computer. If you are...

View Article

Multi threaded Socket Server in PHP with fork

When you create your first socket server you will quickly realise that one thread is not enough. In a single thread architecture a server can’t handle more then one connection at the time. It’s...

View Article

Creating a Chat server in PHP with sockets, forks and pipes

In my previous post I showed how to create a multi process socket server in PHP with pcntl_fork. This time I’m going to extend this example and write a chat server. Chat is far more challenging because...

View Article

Benchmarking Amazon EC2 instance for a Web Server

For the last few days I’ve been testing Amazon web services (AWS). I’m looking for a reliable and scalable hosting provider to host Gloople e-commerce platform. Feature wise AWS is amazing. It offers...

View Article


Boost WordPress performance with Varnish Cache

Lets face it, WordPress is slow. With every request it has to go though thousands lines of code and multiple SQL queries to render a page. Very popular configuration for a WordPress site is Apache,...

View Article

Beginners guide to Amazon Cloud

Everybody heard about Amazon Cloud. It has been around for a good few years. Despite its popularity not everybody had a chance to try it. Amazon tries it best to get more people on board by offering...

View Article

Apache2 vs Nginx for PHP application

Time is money. This somewhat shallow and overused saying fits perfectly well into any on-line business. Users are impatient and every millisecond brings them closer to leaving your website. If you’ve...

View Article


Painless guide to Solr Cloud configuration

“Cloud” become very ambiguous term and it can mean virtually anything those days. If you are not familiar with Solr Cloud think about it as one logical service hosted on multiple servers. Distributed...

View Article


Automated backups to Google Drive with PHP API

Where do you keep backups? I guess that depends on what do you backup. You might have a very clever answer for a business critical data but what about less important content? The best example would be...

View Article

Hacking PHP syntax

Have you ever though how to extend the core of PHP? What does it take to create a new keyword or even design a whole new syntax? If you have some basic knowledge about C you shouldn’t have any problem...

View Article

Integrating Varnish Cache with a PHP application

Varnish Cache is a web application accelerator. It stands in front of a web server and can cache any type of data. It stores data in memory and can speed up your application by a factor of 300-1000x...

View Article

Reading PHP session from Varnish Cache

In my previous post I showed how to integrate Varnish Cache with a PHP application. The example can solve various simple problems but it might not be enough for a complex software. A good example is a...

View Article

Browsing all 13 articles
Browse latest View live




Latest Images