Problems with Netbeans and OpenJDK

Published by burgerboydaddy on Wed, 08/28/2013 - 08:36

Tags 

My Netbeans installation on Ubuntu development machine stopped working few days ago. It just freezes.
After some research I found that problem is with some incompatibility between Netbeans and the openjdk installed on my machine.

Solution or workaround to this problem is to uninstall openJDK and replace it with Oracle JDK.
Here are step-by-step instructions how to do this:

Improving Drupal Performances

Published by burgerboydaddy on Tue, 07/09/2013 - 08:52
My presentation for Surrey Drupal Group about how to improve Drupal site performance:
 
"Improving Drupal Performances".
Here is a link to the presentation slides.

Scaling Drupal horizontally and in the Cloud - Vancouver Drupal group presentation

Published by burgerboydaddy on Fri, 04/26/2013 - 13:05
Yesterday on Vancouver Drupal Group I was presenting topic:
 
"Scaling Drupal Horizontally and in the Cloud".
Here is a link to the presentation slides.

Another useful linux command - find files changed in last few days

Published by burgerboydaddy on Mon, 03/04/2013 - 12:48

Tags 

From time to time I need to find or track files in folder and sub-folders changed in a last few days, and command bellow do job easy and fast.

    find . -type f -exec stat -c "%y %n" {} + | sort -r | head -15

Also I have it inside .bash_aliases :

    alias findrecent='find . -type f -exec stat -c "%y %n" {} + | sort -r | head -15'
Above command will search current and all sub-folders for all files, sort them and show only last 15 files (based on change date/time attribute).

Very handy little command.

\bye

Option 2: Multiple servers connecting to the multiple DB's

Published by burgerboydaddy on Wed, 02/20/2013 - 16:11

So this option is many aspects similar to the default one, with one big difference. In this case each web server will have it's own db server.
Reason for this: Higher site availability; if one db server is down, second one can continue to serve customers. Also for this case load balancer must to be able to see both installations (this is some kind of prequel for cloud deployment).

On image you can see multiple web servers / db server but in general simplest option is to have 2 db servers.

Drupal 7 – Setup master-master replication with 2 MySQL db servers

Notes:

Pages