useful (?) scripts

RSS Feed   RSS

Content

File: January 2010

2010-01-11 :: tom // scripts
Apache Cluster Config Sync

It has become quite commonplace today, for high traffic sites to require more than one web server.
Here is a small script in charge of synchronizing the server configuration files (/etc/httpd in this example).
In this case, I will be using apache as the web server of choice, simply because of its prevalence and popularity, however the [...]

» » » »

 ::  (Read the rest of this)

As promised, here is short example of the Daemon in operation.

» » » » » » »

 ::  (Read the rest of this)

2010-01-05 :: tom // scripts
MySQL Static Cache Daemon

The problem that this program was designed to solve is a rapidly changing MySQL table in use by a high-traffic website.
For instance, stock quotes on the front page of a bank’s or investments firm’s site.
The data is constantly updated by a service on the backend, and is referred to by some ajax widget or by [...]

 ::  (Read the rest of this)