Skip to content

Random photo

Free Software Supporter

User login

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.

My host cracked and my blog lost

June 14, 2009 by Amr

On the 8th of June, at 1am GMT I received an e-mail from my blog host, VAServ, announcing that they were cracked around 7pm GMT on the 7th of June. They were cracked through a vulnerability in HyperVM software (a software for managing vps instances across servers).

As a result, I lost 100% of my data. Here is exactly what happened.

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.

Unbearable Emacs

March 22, 2009 by Amr

Someone (sorry, comment lost) was wondering how emacs looks like by default (on my system, Ubuntu 8.10)

Bearable Emacs

March 20, 2009 by Amr

Now it could start to be visually bearable.

Happy Birthday, from Mobinil

March 11, 2009 by Amr

I'm not sure what they are up to with my next bill. But they sent me a happy b'day card.

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)?

Frustrating: Josef Assad is ALWAYS right

February 19, 2009 by Amr

Few months ago, while I was switching jobs, he told me I will end up jobless.

He was right. I wonder what is his IQ.

عربيتك اتسرقت؟ او خايف تتسرق؟

February 11, 2009 by Amr

لو نزلت في يوم الصبح رايح الشغل ملقتش عربيتك تحت البيت ممكن تعمل الاتي:

AdaptiveThemes