1

A Short Note On eAccelerator – The PHP Accelerator


Posted by Artem Russakovskii on August 29th, 2007 in Beer Planet, Linux, Programming, Technology

I've recently installed eAccelerator on the web server that hosts this site and I wanted to share some of my impressions after a few days.

  • What does it do? Nobody put it better than the eAccelerator team itself: "eAccelerator is a free open-source PHP accelerator, optimizer, and dynamic content cache. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times."
  • Does it work? Hell yes. beerpla.net loads on average twice as fast as before. The results are consistent, so I'm very
  • Read the rest of this article »

0

David Blaine's Street Magic (Now With Part 2)


Posted by Artem Russakovskii on August 28th, 2007 in Humor

Pure awesomeness.

Part 1:

David Blaine Street Magic #1

Part 2:

David Blaine Street Magic 2

Read the rest of this article »

1

Awesome… Or A Warning From Nature?


Posted by Artem Russakovskii on August 28th, 2007 in Awesomeness, WTF?

The DailyMail reports on some crazy ocean foaming in Sydney. What exactly are they talking about? Perhaps the pictures will explain better (or not).

foambeachii1_468×721.jpg

foambeachii3_468×338.jpg

foambeachii2_468×336.jpg

Read the rest of this article »

At the recent Seattle Conference on Scalability organized by Google, Cuong Do, an engineering manager at YouTube, talks about YouTube's growth over the past 2 years and the scalability problems they have overcome. All in all, it's a very interesting presentation that I can recommend to anyone remotely interested in large-scale projects, such as YouTube.

One interesting fact that Cuong mentions is that the pre-Google YouTube tech team consisted of only 2 sysadmins, 2 scalability software architects, 2 developers, 2 networks engineers, and 1 DBA. It's quite impressive that such a small team managed to maintain and scale such a widely popular service.

Here's the presentation (52min long):

Read the rest of this article »

52

How To Resize/Grow VMware Linux Disks and Partitions


Posted by Artem Russakovskii on August 10th, 2007 in Linux

Updated: January 18th, 2009

Update 01/16/2008: This method does not work for LVM partitions, as discovered in the comments.

In this article, I will show how to resize a VMware disk if you didn't make it large enough when it was created. Furthermore, I will show how to resize partitions following the disk augmentation using OpenSUSE 10.2 as an example. You will even be able to resize the Linux root partition (/) that is mounted and is normally unmountable.

The story: this is simple – you made a VMware disk without thinking ahead and now it ran out of space. Here you have a few options, the most notable ones being create another disk and mount it or grow the existing disk and …

Read the rest of this article »

24

Watch – A Useful Linux Command You May Have Never Heard Of


Posted by Artem Russakovskii on August 4th, 2007 in Linux

Updated: November 9th, 2007

How many times did I want to watch a directory waiting for a file to appear in it? Constant ls, for example, quickly got boring. A quick Perl script that would reload ls every 5 seconds… yeah it works but it takes a while to type up, and often enough I'm too lazy for that. And then I found 'watch' – a utility that comes with most *nix distros. Look at this beauty [man watch]:

NAME
watch – execute a program periodically, showing output fullscreen

SYNOPSIS
watch [-dhvt] [-n ] [–differences[=cumulative]] [–help]
[–interval=] [–no-title] [–version]

DESCRIPTION
watch runs command repeatedly, displaying its output (the first screen
full).
This allows you to watch the program output change over time.
By default, …

Read the rest of this article »