LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs > Pyplate
User Name
Password

Notices

This blog is about the development of my various Linux based web sites, starting with raspberrywebserver.com and Pyplate Python SQlite CMS.
Old

Extending my Raspberry Pi server cluster

Posted 10-23-2013 at 12:36 PM by Pyplate

I've added another 4 nodes to my Raspberry Pi server cluster. I posted links to my site on Reddit and some other social networking sites. I'm hoping to get a large hit of traffic so that I can see how my server performs.

In the past my server has handled 2800 visits in one day. I'm hoping to break that record soon, and hopefully without my server slowing down too much.
LQ Newbie
Posted in Uncategorized
Views 437 Comments 0 Pyplate is offline
Old

Testing my Odroid in my server cluster

Posted 10-23-2013 at 07:10 AM by Pyplate

After adding my Odroid U2 to my cluster, I ran tests using siege on the front end of the cluster. There was an increase in performance, but it wasn't the increase I was hoping for. I logged into some of the Pi nodes using ssh and ran uptime to check the load. The Pi nodes weren't working particularly hard, and neither was the Odroid. I logged into the load balancer and checked the uptime and memory usage:
Code:
$ uptime
 13:30:04 up 1 day,  5:20,  1 user,  load average: 9.27, 3.52, 1.33
...
LQ Newbie
Posted in Uncategorized
Views 585 Comments 0 Pyplate is offline
Old

Testing Varnish Cache on an Odroid U2

Posted 10-22-2013 at 01:05 AM by Pyplate

I've fixed the issue with my Odroid freezing. The kernel update fixed that.

I also got Varnish to work. Most of the documentation I found for Varnish refers to an earlier version, but it seems that the latest version has changed a lot, in particular there have been a lot of changes to the Varnish Configuration Language. Fortunately the Varnish compiler gives excellent error messages which tell you how to fix the problems it encounters.

I often make changes to pages...
LQ Newbie
Posted in Uncategorized
Views 346 Comments 0 Pyplate is offline
Old

Tuning Odroid U2 headless server

Posted 10-19-2013 at 05:18 AM by Pyplate

I've been working on my Odroid U2. It has a quad core Cortex A9 ARM SoC running at 1.7GHz, and 2GB of RAM. I've set up Apache and installed a copy of my web site. I set up Varnish Cache and I'm running tests to see how much of a performance boost I'm getting.

I had some issues with the Odroid hanging every few hours. I installed a new kernel and so far it's been up for 18 hours. I'm using a 16GB class 4 micro SD card. I might try using a class 10 card to see if it performs...
LQ Newbie
Posted in Uncategorized
Views 516 Comments 0 Pyplate is offline
Old

On Site Optimization

Posted 10-16-2013 at 07:32 AM by Pyplate

I've written a post about site some of the techniques I used to optimize my Raspberry Pi site.

I've minified Javascript, re-arranged CSS, and adjusted the way Javascript files are loaded. Google Analytics shows a pretty good improvement in page load times. There's still a lot more optimization to do, but I think I've made a good start.

I'm also working on setting up an Odroid U2 as a high speed web cache. So far I've installed Xubuntu, got my site running in Apache...
LQ Newbie
Posted in Uncategorized
Views 336 Comments 0 Pyplate is offline

  



All times are GMT -5. The time now is 06:29 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration