Lately, I tried to tuning up my Drupal 5-based website for one of my company's clients. And successfully achieve their requested test: more than 50 requests per seconds with only one additional PHP PECL module: APC. Alhamdulillah, finally. It was achieved by an unusual way, at least for me.
About 2 months before during development time, I had the Drupal pass the same test. This fact made me relieved that the development is on the track. But at the time, it did not load so much modules as it did lately. To, make it faster, I even activated memcache and advanced session modules. Then, I continued to add and customize additional modules. I think, without testing it anymore.
Two months later, I found out that my Drupal had gone slow. It could only handle no more than 25 requests per seconds. What?..... This made me curious over the new modules. I tried to turn they off one by one and I fired up xcache to see what was happening. After tuning up Apache2, MySQL, and others I could just only rise 2 more request.
I felt something must had gone wrong but not in the Drupal. Because fresh Drupal at the same time also never reached 50 requests per seconds but it had actually before (2 months before). What about removing just (since 2 months before) installed PHP memcache.ini and xcache.ini or renaming it, so that PHP assumes that there is no memcache and xcache.ini
Wonderfully and suprisingly, my Drupal passed the test and reached 52 requests per second. This made me think, sometimes we don't need to go far away to find solutions. The solutions may be near us.
Through this blog I hope I can share something and help others and of course learn something. Don't hesitate to ask me OK!
Showing posts with label Drupal. Show all posts
Showing posts with label Drupal. Show all posts
Tuesday, April 22, 2008
Someone requested me create Quran for Drupal 5. I thought it's a good ide since many users still use Drupal 5. So, last night I migrated the Quran module from Drupal 6 version to Drupal 5. Alhamdulillah, it's done.
You may download it in official Quran module page. The database files remain unchanged.
Thanks for your support and patients.
You may download it in official Quran module page. The database files remain unchanged.
Thanks for your support and patients.
Thursday, April 10, 2008

Alhamdulillah, I finally released one of Drupal module: Quran, or Koran. This is my first contribution to Drupal community and my second contribution to free CMS (previously, Mambo).
This module allows you to read Quran (Koran) on Drupal. You can also search for specific verses by keywords. There is also optional block for random verses. The module includes Quran in Arabic, and English for default translation.
Currently we have more than 3 languages: Arabic, English and Indonesian. The other languages are Germany, French, Turk, etc as listed in Zekr Quran project. Please visit http://www.muslimade.com/projects/quran-drupal-module to download them
Subscribe to:
Posts (Atom)