Skip to content

Random photo

Free Software Supporter

User login

Category: technicalSyndicate content

Benchmarking MySQL in Memory Using tmpfs

June 14, 2009 by Amr

At my (new) day job I joined the team responsible for the scalability and reliability of a heavily loaded LAMP stack. Since our MySQL server has plenty of memory, we were recently wondering if we could load all MySQL into memory and what would be the benefit.

A bit of googling, and I found out that there were few others asking the same question, however, I didn't see any satisfactory answers that are coming from real experience or benchmarks, and so we decided to benchmark for ourselves and see.

The new Jaiku API: Problems and solutions

April 3, 2009 by Amr

Almost all applications, modules and social web sites I use stopped working with Jaiku since they moved to AppEngine and introduced a new API based on OAuth for authorization and secure communication of REST requests.

Recipe: Bearable Emacs

March 25, 2009 by Amr

This post is for those who might be planning on trying emacs (for the first time soon), or are just starting their way with emacs and could use a tip or two from a fellow starter.

After I installed emacs I was horrified by its unbearable look which I thought would have changed over the few last years since I last tried it. Luckily the CVS version of emacs has considerable improvements in that area, it looks much better and I've been using it for few days and it seems to be pretty stable.

Read on for the full recipe.

What's the point of mobile book formats?

March 11, 2009 by Amr

I do a bit of reading on my mobile device (Nokia E71, which runs S60 3rd edition) almost every day. I was really surprised to find how competent the default browser is, even with websites with complex layouts. It works with more than 90% of the websites. I was under the impression only HTML would be supported. But turned out CSS and Javascript are supported to very good degrees as well and I can't help but wonder: Why are there so many different formats for ebooks on the mobile and special programs to open them (for different platforms)?

RSOD: A KISS Reverse SSH web-based tool

November 19, 2008 by Amr

From time to time we need to connect to servers on our customer's network. Ideally, we would just SSH and do our thing; However, few customers are behind NAT meaning we cannot connect to them in a simple manner. The job isn't worth going over the hassle of finding how to bridge the 2 networks together.

Fortunately, SSH provides a solution: Reverse SSH Tunnel. However, it's not very easy for less technical people to do thus, becoming impractical in our case. I thought what we needed was a way to make it trivial to open and close Reverse SSH Tunnels. I googled but I didn't find something that's web-based and is actually usable.

I thought this was a good excuse to hack away and I couldn't resist.

Upgrading to a Drupal minor version

October 25, 2008 by Amr

If you use Drupal like me, then upgrading to the next minor release must be something you do every couple of months. I never asked anybody how they do it. So here I will write how I do it, in the same time I will be actually upgrading my blog to Drupal 6.6.
AdaptiveThemes